Welcome, Guest. Please Login or Register.
November 22, 2024, 01:41:03 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.4.x/1.5.x] Quick-Reply box v1.5.3 « previous next »
Pages: 1 ... 5 6 [7] 8 9 ... 14 Reply Ignore Print
Author Topic: [Done 1.4.x/1.5.x] Quick-Reply box v1.5.3  (Read 408902 times)
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] Quick-Reply box v1.3
« Reply #90 on: February 14, 2003, 03:01:49 PM »
Reply with quote

I can ?

It works for me, thanx to Compuart who told me how to do it.

When I have the time I will post it here, this will not be today I think.......
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
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] Quick-Reply box v1.3
« Reply #91 on: February 14, 2003, 11:30:13 PM »
Reply with quote

Well, this is my quickreply function in Display.php :

function QuickReply($locked,$subject="N/A") {
   global $board,$threadid,$username,$userprofile,$cgi,$modSettings,$color,$txt,$imagesdir,$ubbcjspath,$sc;;
   LoadUser($username);
   $allowed = ($modSettings['QuickReply'] && !$locked && $userprofile[$username]['QuickReply']) ? "1" : "0";
   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>
<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><BR>
            <INPUT TYPE="HIDDEN" NAME="waction" value="post">
                 <INPUT TYPE="SUBMIT" NAME="post" value="Post" ACCESSKEY="s">
                <INPUT TYPE="RESET" VALUE="Wissen" ACCESSKEY="r">
            </FORM>
         </TD>
        </TR>
      </TABLE>
      <BR>
EOT;
   }
   else {
      $return = "";
   }
   return $return;
}

?>


Remember :

I have the add more smilies mod installed, hence the smileywin() javascript entry.  If you don't have this installed : leave it out.

You can follow the rest of the mod literally (if I remember well).
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
Juana
Jr. Member
**
Posts: 61


Go Yabbse Go!

ICQ - 27320025 WWW
Re:[Done 1.4.0/1.4.1/1.5] Quick-Reply box v1.3
« Reply #92 on: February 15, 2003, 06:14:44 AM »
Reply with quote

OK bro. thanks , now my QR working  ;D
Logged
c0210k_hiep
Noobie
*
Posts: 32


I'm a llama!

Re:[Done 1.4.0/1.4.1/1.5] Quick-Reply box v1.3
« Reply #93 on: February 16, 2003, 06:43:21 PM »
Reply with quote

NOw

first i', download  quickreply1.3
unzip it
up dbmod.php  to myhost/yabbse
then up quickreply.mod to myhost/Packages

then run dbmod.php
then install PAK succesfull
why i cant find Enable quick reply text on Admin control center

HHELP HELP
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] Quick-Reply box v1.3
« Reply #94 on: February 16, 2003, 10:09:53 PM »
Reply with quote

On the admin center ?

Try your profile ?

You can switch it on and off there.
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
c0210k_hiep
Noobie
*
Posts: 32


I'm a llama!

Re:[Done 1.4.0/1.4.1/1.5] Quick-Reply box v1.3
« Reply #95 on: February 16, 2003, 10:28:40 PM »
Reply with quote

Oh Shake
my profile don't have any text like "quick"
are you sure only need run dbmod.php
then install PAK succesfull
it's ll appear on profile ohhohohh
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] Quick-Reply box v1.3
« Reply #96 on: February 16, 2003, 10:31:17 PM »
Reply with quote

Don't know if I understand what you mean, but there should be someting in your profile in which you can choose to have the quickreply ON or OFF.

Was Profile.php changed ?
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
c0210k_hiep
Noobie
*
Posts: 32


I'm a llama!

Re:[Done 1.4.0/1.4.1/1.5] Quick-Reply box v1.3
« Reply #97 on: February 16, 2003, 10:50:40 PM »
Reply with quote

I just re-installed YABBSE 1.5.0
My profile don't have it
:'(
When i run DB MOD
have text appear
===============
Data inserted
Data inserted
===============
When i finish Install pak
text appear is : ././Packages/QuickReply.mod ... Modding was done successfully. Everything should work now.

then i find on Profile and Forum Prefrence and setting and Installed MOD and option but don't have anything like "quickreply ON or OFF"

 may be i have to change some file
english.lng or profile.php or anything else

HELP
« Last Edit: February 16, 2003, 10:52:53 PM by c0210k_hiep » 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] Quick-Reply box v1.3
« Reply #98 on: February 16, 2003, 11:05:16 PM »
Reply with quote

You use english.lng ?

You will find there :

$txt['QuickReply1'] until $txt['QuickReply4']

if not : insert it manually.

Then, in your profile you should see the option (if Profile.php was adjusted like it is supposed to)
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
c0210k_hiep
Noobie
*
Posts: 32


I'm a llama!

Re:[Done 1.4.0/1.4.1/1.5] Quick-Reply box v1.3
« Reply #99 on: February 17, 2003, 06:02:28 AM »
Reply with quote

i just insert what you told me

$txt['QuickReply1'] = "Enable Quick-Reply Mod?";
$txt['QuickReply2'] = "Show Quick-Reply box in messageview?";
$txt['QuickReply3'] = "Quick-Reply";
$txt['QuickReply4'] = "Use this form to post a quick reply. YaBB code and smilies are allowed.";

but profile don't have any text like that !
???
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] Quick-Reply box v1.3
« Reply #100 on: February 17, 2003, 08:17:05 AM »
Reply with quote

Did you check the files that were altered by the mod ?  Is the code there ?  I mean, is the code in Profile.php end / or the other files that are supposed to be altered ?

This one of the easiest mods, and it should therefor not be too hard to install.......... :-\
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
c0210k_hiep
Noobie
*
Posts: 32


I'm a llama!

Re:[Done 1.4.0/1.4.1/1.5] Quick-Reply box v1.3
« Reply #101 on: February 17, 2003, 02:43:12 PM »
Reply with quote

Hic
i'mm an newbie
can you quote your code of profile.php here
i can copy and paste in my file

so easy

hi  
 :P
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] Quick-Reply box v1.3
« Reply #102 on: February 17, 2003, 07:08:59 PM »
Reply with quote

at approximately 1/3 of the code it should be like :

   if ($allow_hide_email)
   {
      $memsettings['hideEmail'] = ($memsettings['hideEmail'] == 1 ? ' checked' : '');
      echo '
                     <tr>
                        <td width="45%"><font size="2"><b>' . $txt[721] . '</b></font></td>
                        <td><input type="checkbox" name="hideemail"' . $memsettings['hideEmail'] . ' /></td>
                     </tr>';
   }
   if ($modSettings['QuickReply'] == '1')
   {
      $memsettings['QuickReply'] = ($memsettings['QuickReply'] == 1 ? ' checked' : '');
      echo '
                     <tr>
                        <td width="45%"><font size="2"><b>' . $txt['QuickReply2'] . '</b></font></td>
                        <td><input type="checkbox" name="QuickReply"' . $memsettings['QuickReply'] . '/></td>
                     </tr>';
   }
   if ($modSettings['userLanguage'] == '1')
   {
      echo '
                     <tr>
                        <td width="45%"><font size="2"><b>' . $txt[349] . ':</b></font></td>
                        <td width="50">
                           <select name="language">';


Note : there are more entries needed for the quickreply to work !  So pasting this piece is not enough, I think you have to go through te mod manually !
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
Deimos
Jr. Member
**
Posts: 87


I'm a llama!

Re:[Done 1.4.0/1.4.1/1.5] Quick-Reply box v1.3
« Reply #103 on: February 23, 2003, 07:53:41 PM »
Reply with quote

c0210k_hiep

Make sure it's turned on in the Mods and settings options in yer Admin panel.
Logged
c0210k_hiep
Noobie
*
Posts: 32


I'm a llama!

Re:[Done 1.4.0/1.4.1/1.5] Quick-Reply box v1.3
« Reply #104 on: February 23, 2003, 08:06:58 PM »
Reply with quote

Oh yes
it 's worked
thanks

i forgot it
Logged
Pages: 1 ... 5 6 [7] 8 9 ... 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.049 seconds with 20 queries.