News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Can't quick modify or quote

Started by trekkie2444, March 22, 2009, 09:24:38 PM

Previous topic - Next topic

trekkie2444

http://www.aaroads.com/forum

When I try to modify a post using the little quick modify box or quote, the loading bar appears, and nothing happens. Is there a way to fix this?

Kermit

Try that

in Display.template.php

Code (find) Select

// Can they reply? Have they turned on quick reply?
if ($context['can_reply'] && !empty($options['display_quick_reply']))
echo '
<a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';num_replies=', $context['num_replies'], ';sesc=', $context['session_id'], '" onclick="doQuote(', $message['id'], ', \'', $context['session_id'], '\'); return false;">', $reply_button, '</a>';


Code (replace with) Select

// Can they reply? Have they turned on quick reply?
if ($context['can_reply'])
echo '
<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>';
My Mods
Please don't PM/mail me for support,unless i invite you
Formerly known as Duncan85
Quote
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

A. Einstein

SlammedDime

Don't do what Duncan suggested above.

The issue is that you have a blank space in your HTML source (view the source code of your page, you'll see the empty space at the top).  This space is caused by some space before <?php or after ?> in one of your SMF php files.  You'll need to scan them and figure out which one has it and remove it.  A good place to start is index.php, Modifications.english.php, and index.template.php of your template.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

trekkie2444

How do I search for that? Is there something I can put on the page finder to see if it comes up?

SlammedDime

not really... you just have to open the files and look by hand.  I'm working on writing a tool to check for it, but it won't be ready today, maybe tomorrow for a test run.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

trekkie2444


SlammedDime

#6
ok trekkie - download the attached file and drop it into your SMF directory and then navigate to it... the results will give you a place to start...
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

JBlaze

Quote from: SlammedDime on March 24, 2009, 11:03:15 PM
ok trekkie - download the attached file and drop it into your SMF directory and then navigate to it... the results will give you a place to start...

HAHA.... Sorry I have to point this out...

QuoteFile does not being with <?php

:P :P

Nice job on that tool though. I really helped me ALOT ;D
Jason Clemons
Former Team Member 2009 - 2012

SlammedDime

Damn, I blame Sarge... he proofed it for me... lol

Edit: fixed. :)
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

JBlaze

Jason Clemons
Former Team Member 2009 - 2012

trekkie2444

Do I put this in my theme folder or just the /smf directory?

SlammedDime

SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     


SlammedDime

Looks like you have some work cut out for you....

I can't speak for anything that is non SMF, but at least start with the files below.... open them all up, ?> should be the very last thing in the file with no spaces, line returns, or anything else after it.  It should be the very last line of the file.

Quote*  /homepages/13/d117650366/htdocs/aaroads.com/forum/Sources/Subs-Aeva-Sites.php
          o File does not end with ?>

    * /homepages/13/d117650366/htdocs/aaroads.com/forum/Sources/Chat.php
          o File does not end with ?>

    * /homepages/13/d117650366/htdocs/aaroads.com/forum/Sources/TPhelp.php
          o File does not end with ?>

    * /homepages/13/d117650366/htdocs/aaroads.com/forum/Sources/TPmodules.php
          o File does not end with ?>

    * /homepages/13/d117650366/htdocs/aaroads.com/forum/Sources/TPortalAdmin.php
          o File does not end with ?>

    * /homepages/13/d117650366/htdocs/aaroads.com/forum/Themes/default/languages/TPmodules.english.php
          o File does not end with ?>

    * /homepages/13/d117650366/htdocs/aaroads.com/forum/Themes/default/languages/TPortal.english.php
          o File does not end with ?>

    * /homepages/13/d117650366/htdocs/aaroads.com/forum/Themes/default/languages/TPortalAdmin.english.php
          o File does not end with ?>

    * /homepages/13/d117650366/htdocs/aaroads.com/forum/Themes/default/languages/TPShout.english.php
          o File does not end with ?>

    * /homepages/13/d117650366/htdocs/aaroads.com/forum/Themes/default/Chat.template.php
          o File does not end with ?>

    * /homepages/13/d117650366/htdocs/aaroads.com/forum/Themes/default/TPdladmin.template.php
          o File does not end with ?>

    * /homepages/13/d117650366/htdocs/aaroads.com/forum/Themes/default/TPdlmanager.template.php
          o File does not end with ?>

    * /homepages/13/d117650366/htdocs/aaroads.com/forum/Themes/default/TPortalAdmin.template.php
          o File does not end with ?>

    * /homepages/13/d117650366/htdocs/aaroads.com/forum/Themes/default/TPprofile.template.php
          o File does not end with ?>

SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

trekkie2444

I can't find a homepages directory.

SlammedDime

That is the fulllll path to SMF.... you need to 'chop off' whatever of that path whereever you are when you FTP in.  If you FTP to your site and then you click on 'forum' to go into your forum directory, then chop off everything before that.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Jessikard

 :-* works great

35 errors deleted and now quick edit, quote and sort the memberlist work well

trekkie2444

I can't access that directory in the FTP.

SlammedDime

You can't access your forum files?  How did you upload the script then?
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Major Truth

Quote from: SlammedDime on April 02, 2009, 12:18:54 PM
?> should be the very last thing in the file with no spaces, line returns, or anything else after it.  It should be the very last line of the file.

That is how it is for all of my files, but it still gives me that message on one of them.

Advertisement: