Welcome, Guest. Please Login or Register.
April 24, 2024, 06:06:33 AM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.4.x/1.5.x] Quick-Reply box v1.5.3 « previous next »
Pages: 1 ... 6 7 [8] 9 10 ... 14 Reply Ignore Print
Author Topic: [Done 1.4.x/1.5.x] Quick-Reply box v1.5.3  (Read 401470 times)
Spam
Noobie
*
Posts: 11


I'm a llama! huh.. and why??

Re:[Done 1.4.0/1.4.1/1.5] Quick-Reply box v1.3
« Reply #105 on: February 25, 2003, 08:11:35 AM »
Reply with quote

I've tried to add the "notify" checkbox... but it doesn't work... any chance of getting a helping hand here ?
Logged
sylvester
YaBB God
*****
Posts: 525


Re:[Done 1.4.0/1.4.1/1.5] Quick-Reply box v1.3
« Reply #106 on: February 27, 2003, 10:18:05 PM »
Reply with quote

Hellow, I'm back again. :o

I'll make a new mod-file, so it will be YaBB SE 1.5.1 RC1 -compatible. :)

Before I forget it: Now a (global) moderator/administrator can reply on a locked topic by clicking on the 'Reply'-button, but in my new version, the quick-reply box will stay if you're a (global) moderator/administrator. It doesn't matter the topic is locked. :)

Stay tuned. 8) ;D
Logged

I'm back
sylvester
YaBB God
*****
Posts: 525


Re:[Done 1.4.0/1.4.1/1.5] Quick-Reply box v1.3
« Reply #107 on: March 08, 2003, 09:03:11 PM »
Reply with quote

Quote from: sylvester on February 27, 2003, 10:18:05 PMI'll make a new mod-file, so it will be YaBB SE 1.5.1 RC1 -compatible. :)
Scrap that. :P
I don't have enough time.  :-\

Quote
Before I forget it: Now a (global) moderator/administrator can reply on a locked topic by clicking on the 'Reply'-button, but in my new version, the quick-reply box will stay if you're a (global) moderator/administrator. It doesn't matter the topic is locked. :)
Done! ;D

Info:
QuoteIf the administrator enables this mod, the user gets an option in his profile to enable/disable the quick-reply box.
Global Moderators, Moderators of that board and Administrators will see the quick-reply box even if the topic has been locked.
Check the first-post to download the new version (v 1.4)
Logged

I'm back
sylvester_
Noobie
*
Posts: 2


I'm a llama!

[Done 1.4.x/1.5.x] Quick-Reply box
« Reply #108 on: May 17, 2003, 01:11:19 AM »
Reply with quote

I've lost the password of my account (sylvester) and the password of my mailbox, so I had to register again and start a new topic, because the topic has been locked.

I made this mod compatible for 1.5.x :)

Quick-Reply releases:
YaBB SE 1.4/1.4.1 (v1.2)
YaBB SE 1.5 (v1.3)
YaBB SE 1.5 (v1.4)
YaBB SE v1.5.1 (v1.5.1)
YaBB SE v1.5.2 (v1.5.2)

Enjoy! :)
Logged
I, Brian
Full Member
***
Posts: 238


It is coming...

WWW
Re:[Done 1.4.x/1.5.x] Quick-Reply box
« Reply #109 on: May 17, 2003, 07:19:29 AM »
Reply with quote

Thanks for that! :)

Btw - silly question - I'm installing the mod manually. So after adjusting info according to the MOD file, I then upload the dbmod.php file to my website yabb folder and run it? Just thought I'd better check first...

Logged

I, Brian
Full Member
***
Posts: 238


It is coming...

WWW
Re:[Done 1.4.x/1.5.x] Quick-Reply box
« Reply #110 on: May 17, 2003, 07:43:57 AM »
Reply with quote

Ah, yes - you do run it.

Running fine for the moment... :)

Logged

klumy
Sr. Member
****
Posts: 432


Re:[Done 1.4.x/1.5.x] Quick-Reply box
« Reply #111 on: May 17, 2003, 03:54:00 PM »
Reply with quote

are there any screenshots for this function?
Logged
sylvester_
Noobie
*
Posts: 2


I'm a llama!

Re:[Done 1.4.x/1.5.x] Quick-Reply box
« Reply #112 on: May 17, 2003, 05:37:23 PM »
Reply with quote

Quote from: klumy on May 17, 2003, 03:54:00 PM
are there any screenshots for this function?
check the following link: http://www.yabbse.org/community/index.php?board=158;action=display;threadid=11379

If my PC is online, you could go to
http://fora.n00b.uni.cc/151/ (yabbse 1.5.1) or to
http://fora.n00b.uni.cc/152/ (yabbse 1.5.2)
Logged
klumy
Sr. Member
****
Posts: 432


Re:[Done 1.4.x/1.5.x] Quick-Reply box
« Reply #113 on: May 17, 2003, 06:01:13 PM »
Reply with quote

thank you ;)
Logged
Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:[Done 1.4.0/1.4.1/1.5.0/1.5.1/1.5.2] Quick-Reply box v1.5.2
« Reply #114 on: May 26, 2003, 10:10:09 AM »
Reply with quote

Putting the smilies above the text area, how should one do that ?

....that wouldn't be too hard actually,
but how to get the selected smiley into the textarea ;) ......?
« Last Edit: May 26, 2003, 10:10:57 AM by Webby » Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
Wezz6400
Full Member
***
Posts: 154


ICQ - 114410803wezz6400@wezz6400.net WWW
Re:[Done 1.4.0/1.4.1/1.5.0/1.5.1/1.5.2] Quick-Reply box v1.5.2
« Reply #115 on: May 26, 2003, 05:30:00 PM »
Reply with quote

I'd look at the normal post area if I were you, it must be somewhere around there. :)
Logged

Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:[Done 1.4.0/1.4.1/1.5.0/1.5.1/1.5.2] Quick-Reply box v1.5.2
« Reply #116 on: May 26, 2003, 06:44:20 PM »
Reply with quote

I know, and I tried, but there has to be something done special regarding to the java scripting, because I'm getting java-script errors.  You know I tried, Wezz ;)
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
sensovision
Full Member
***
Posts: 100


WWW
Re:[Done 1.4.0/1.4.1/1.5.0/1.5.1/1.5.2] Quick-Reply box v1.5.2
« Reply #117 on: May 26, 2003, 08:27:36 PM »
Reply with quote

would it be hard to put a checkbox "Notification of replies" near quick reply box? as it's the only thing which make me use sometimes "Reply" dialog...
Also I think that putting smiles above form is great idea.
Thanks again for this really useful Mod!
Logged

Denis

Are you good with the graphic? check out our design logo contest!
Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:[Done 1.4.0/1.4.1/1.5.0/1.5.1/1.5.2] Quick-Reply box v1.5.2
« Reply #118 on: May 26, 2003, 09:47:28 PM »
Reply with quote

That wouldn't be hard at all............

I finally got the Smilies to "work" also :)

I'll show yout the code, I didn't make a mod of it, and I'm sure it could be done better, but hey, it works for me :) :

The last piece of the Display.php looks like this on my board :

   echo QuickReply($mstate,$msubthread);
   footer();
   obExit();
}
function QuickReply($locked,$subject="N/A") {
   global $notify,$board,$threadid,$username,$userprofile,$cgi,$modSettings,$color,$txt,$imagesdir,$ubbcjspath,$sc,$moderators,$settings;
   LoadUser($username);
   $allowed = ($modSettings['QuickReply'] && $userprofile[$username]['QuickReply'] && (!$locked || ($settings[7] == 'Administrator' || $settings[7] == 'Global Moderator' || in_array($username,$moderators)))) ? true : false;
   if($allowed) {
      $return=<<<EOT
      <SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript 1.2" SRC="$ubbcjspath"></SCRIPT>
      <TABLE WIDTH="100%" BORDER="0" CELLPADDING="3" CELLSPACING="1" BGCOLOR="$color[bordercolor]" CLASS="bordercolor" VALIGN="TOP">
         <TR>
          <TD HEIGHT="20" COLSPAN="2" CLASS="windowbg"><B>{$txt['QuickReply3']}</B></TD>

</tr>
        </TR>
        <TR>
          <TD WIDTH="15%" VALIGN="TOP" CLASS="windowbg"><BR>
            {$txt['QuickReply4']}
   
      </TD>
          <TD WIDTH="85%" VALIGN="top" ALIGN="center" CLASS="windowbg">
            <FORM METHOD="POST" ACTION="$cgi;action=post2;threadid=$threadid" NAME="postmodify" onSubmit="submitonce(this);">
<script>
function smileywin() {
window.open("?action=smileyput", 'list', 'width=900,height=600,scrollbars=yes,resize=yes');
}
</script>


               <a href="javascript:replaceText(' :)')"><img src="$imagesdir/smiley.gif" align="bottom" alt="$txt[287]" border="0" /></a>
               <a href="javascript:replaceText(' ;)')"><img src="$imagesdir/wink.gif" align="bottom" alt="$txt[292]" border="0" /></a>
               <a href="javascript:replaceText(' :D')"><img src="$imagesdir/cheesy.gif" align="bottom" alt="$txt[289]" border="0" /></a>
               <a href="javascript:replaceText(' ;D')"><img src="$imagesdir/grin.gif" align="bottom" alt="$txt[293]" border="0" /></a>
               <a href="javascript:replaceText(' >:(')"><img src="$imagesdir/angry.gif" align="bottom" alt="$txt[288]" border="0" /></a>
               <a href="javascript:replaceText(' :(')"><img src="$imagesdir/sad.gif" align="bottom" alt="$txt[291]" border="0" /></a>
               <a href="javascript:replaceText(' :o')"><img src="$imagesdir/shocked.gif" align="bottom" alt="$txt[294]" border="0" /></a>
               <a href="javascript:replaceText(' 8)')"><img src="$imagesdir/cool.gif" align="bottom" alt="$txt[295]" border="0" /></a>
               <a href="javascript:replaceText(' ???')"><img src="$imagesdir/huh.gif" align="bottom" alt="$txt[296]" border="0" /></a>
               <a href="javascript:replaceText(' ::)')"><img src="$imagesdir/rolleyes.gif" align="bottom" alt="$txt[450]" border="0" /></a>
               <a href="javascript:replaceText(' :P')"><img src="$imagesdir/tongue.gif" align="bottom" alt="$txt[451]" border="0" /></a>
               <a href="javascript:replaceText(' :-[')"><img src="$imagesdir/embarassed.gif" align="bottom" alt="$txt[526]" border="0" /></a>
               <a href="javascript:replaceText(' :-X')"><img src="$imagesdir/lipsrsealed.gif" align="bottom" alt="$txt[527]" border="0" /></a>
               <a href="javascript:replaceText(' :-\\\')"><img src="$imagesdir/undecided.gif" align="bottom" alt="$txt[528]" border="0" /></a>
               <a href="javascript:replaceText(' :-*')"><img src="$imagesdir/kiss.gif" align="bottom" alt="$txt[529]" border="0" /></a>
               <a href="javascript:replaceText(' :\\'(')"><img src="$imagesdir/cry.gif" align="bottom" alt="$txt[530]" border="0" /></a>
               <a href="javascript:replaceText(' ^-^')"><img src="$imagesdir/azn.gif" align="bottom" border="0" /></a>
               <a href="javascript:replaceText(' >:D')"><img src="$imagesdir/evil.gif" align="bottom" border="0" /></a>


<br><center><a href="javascript:smileywin()"><img src=$imagesdir/moresmilies.gif border=0></a>




<input type="hidden" name="sc" value="$sc" />
            <INPUT TYPE="HIDDEN" NAME="subject" VALUE="Re:$subject">
            <INPUT TYPE="HIDDEN" NAME="icon" value="xx">
            <TEXTAREA CLASS="editor" NAME="message" COLS="100" ROWS="6" STYLE="WIDTH: 90%; HEIGHT: 80px"></TEXTAREA>
            <BR>
            <INPUT TYPE="HIDDEN" NAME="waction" value="post">
            <input type="checkbox" name="notify" $notify> $txt[notifyquick]<br><br>
                 <INPUT TYPE="SUBMIT" NAME="post" value="Post" ACCESSKEY="s">
                <INPUT TYPE="RESET" VALUE="Wissen" ACCESSKEY="r">
            </FORM>
         </TD>
        </TR>
      </TABLE>




      
EOT;
   }
   else {
      $return = "";
   }
   return $return;
}

?>


I also made an extra entry in the language.lng :

$txt[notifyquick] = 'Check this if you want to receive notifications by email when there is a reply to this topic.';


Maybe somebody can try it ?

I think this works ok on my board, so "shoot" !!
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
sensovision
Full Member
***
Posts: 100


WWW
Re:[Done 1.4.0/1.4.1/1.5.0/1.5.1/1.5.2] Quick-Reply box v1.5.2
« Reply #119 on: May 26, 2003, 10:30:31 PM »
Reply with quote

I've install it and it works like a charm for me;) I'll check it in Opera 7, IE 5.0 and Mozilla latest build. I'll report any bugs if spot them, good job Webby, 10x!

BTW what about moresmilies.gif as this is displayed as broken image in IE, where it could be taken?
Logged

Denis

Are you good with the graphic? check out our design logo contest!
Pages: 1 ... 6 7 [8] 9 10 ... 14 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.4.x/1.5.x] Quick-Reply box v1.5.3 « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.037 seconds with 20 queries.