News:

Wondering if this will always be free?  See why free is better.

Main Menu

2 Quote Buttons - Different actions

Started by pooya, November 19, 2008, 08:18:08 PM

Previous topic - Next topic

pooya

Hi, i got two quote buttons, one makes the quote in the quick reply, the other quotes it in advanced.

Duno how this happened.. Any help ?

ccbtimewiz


Jade Elizabeth

Quote from: ccbtimewiz on November 19, 2008, 08:20:42 PM
It's supposed to be like that.

That was the funniest post I've read all day.

He's right :). Just like there are two edit buttons ;D.
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

pooya

Umm no, one edit button is termed modify, and the other is an icon with no text on it, with new members not knowing why its there cause no title is shown on mouse over, secondly its an ajax edit.

Back to my topic, both say the same, and look the same. Confusing for my members. No way i can remove the quote on the quick reply tab and just have it opened in a normal reply page ?

Jade Elizabeth

Quote from: pooya on November 20, 2008, 03:43:47 PM
Umm no, one edit button is termed modify, and the other is an icon with no text on it, with new members not knowing why its there cause no title is shown on mouse over, secondly its an ajax edit.

Well yes, but they both EDIT the post. No need to get technical.

QuoteBack to my topic, both say the same, and look the same. Confusing for my members. No way i can remove the quote on the quick reply tab and just have it opened in a normal reply page ?

That would annoy me senseless. It goes to quick reply if quick reply is enabled, otherwise it goes to long reply. Show me a screenshot of what you mean please.
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

pooya

Ummmm ill show you my site http://www.warcraftpk.com/forums

Regarding the edit buttons, i have a valid point :p AJAX and Normal Reply are two different structures yes.

Plus i remember i had edited the code of display file and removed the quick reply in the if statement lol, is it cause of that ?

Jade Elizabeth

PM me a test account? Or just screenshot and highlight the two buttons in question?
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

pooya

Sent you the test account, hoping positive results.

Jade Elizabeth

LOL how did you do that?!

Send me your display.template.php lol..

Just attach it here :D
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

pooya

Geniass aint I ?

Wanted to ask another question if its okay to do so in the same topic.
Q: My host has limited 2mb uploads on http :(" how do i by pass  this ? currently looking at a download system mod, duno if it does the trick.

Jade Elizabeth

...Get an FTP program? They SURELY cannot limit that, and if they do, GET A NEW HOST!!! That's terrible! I mean understandable for like attachments sort of uploading, but gees..

I recommend filezilla, but there are heaps out there :)


Give me a minute to talk to your file ;)
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

Jade Elizabeth

Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

pooya

God, i said http upload didint i ? ...

Only way is to alter the php.ini file and there is a code used in .htaccess but google isnt being friends with me :(

Sure talk in persian though, thank you.

pooya

OMG, where did my quote button go .. !!!!!!!! NOOOOOOOOO ! .. bring it backkkkkkk ! lol.

Jade Elizabeth

I dunno the difference lol :P

If your host limits it then no, if he allows you to change the limit then yes, through php.ini....ask him :).

Quote from: pooya on November 20, 2008, 08:37:18 PM
OMG, where did my quote button go .. !!!!!!!! NOOOOOOOOO ! .. bring it backkkkkkk ! lol.

LOL..hold on  :-X
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

Jade Elizabeth

Okay, try this..

And let me know what happens.
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

pooya

Okay i brought this back to original and its fine now, the extra quote button is gone.
Quote
// Can they reply? Have they turned on quick reply?
      if ($context['can_reply'] && !empty($options['display_quick_reply']))
         echo '
                  <li><a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';num_replies=', $context['num_replies'], ';sesc=', $context['session_id'], '" onclick="return oQuickReply.quote(', $message['id'], ', \'', $context['session_id'], '\', true);">', $reply_button, '</a></li>';

      // So... quick reply is off, but they *can* reply?
      elseif ($context['can_reply'])
         echo '
                  <li><a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';num_replies=', $context['num_replies'], ';sesc=', $context['session_id'], '">', $reply_button, '</a></li>';

Soooo what does your edit do again ?

Jade Elizabeth

Well. What do you want exactly?

Replace above with this maybe:

// Can they reply? Have they turned on quick reply?
if ($context['can_reply'])
echo '<li><a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';num_replies=', $context['num_replies'], ';sesc=', $context['session_id'], '">', $reply_button, '</a></li><li><a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';num_replies=', $context['num_replies'], ';sesc=', $context['session_id'], '" onclick="return oQuickReply.quote(', $message['id'], ', \'', $context['session_id'], '\', true);">', $reply_button, '</a></li>';
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

pooya

Problem solved i guess..

Nice experience here :) and good help too :)

Jade Elizabeth

Awesome, glad it worked. I got confused for a second, then I realised :D

Sorry I didnt understand the first time, I'm glad it's solved now :D.
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

Advertisement: