Advertisement:

Author Topic: Can't quick modify or quote  (Read 11356 times)

Offline trekkie2444

  • Full Member
  • ***
  • Posts: 602
Can't quick modify or quote
« on: March 22, 2009, 09:24:38 PM »
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?

Offline Kermit

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,365
  • Gender: Male
Re: Can't quick modify or quote
« Reply #1 on: March 23, 2009, 07:39:15 PM »
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

Offline SlammedDime

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,276
  • School of Air Ride
    • matt.zuba on Facebook
    • @mattzuba on Twitter
Re: Can't quick modify or quote
« Reply #2 on: March 23, 2009, 07:41:55 PM »
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...
                     

Offline trekkie2444

  • Full Member
  • ***
  • Posts: 602
Re: Can't quick modify or quote
« Reply #3 on: March 23, 2009, 08:34:44 PM »
How do I search for that? Is there something I can put on the page finder to see if it comes up?

Offline SlammedDime

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,276
  • School of Air Ride
    • matt.zuba on Facebook
    • @mattzuba on Twitter
Re: Can't quick modify or quote
« Reply #4 on: March 23, 2009, 10:07:36 PM »
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...
                     

Offline trekkie2444

  • Full Member
  • ***
  • Posts: 602
Re: Can't quick modify or quote
« Reply #5 on: March 24, 2009, 12:33:32 AM »
I think I'd rather wait...

Offline SlammedDime

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,276
  • School of Air Ride
    • matt.zuba on Facebook
    • @mattzuba on Twitter
Re: Can't quick modify or quote
« Reply #6 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...
« Last Edit: March 27, 2009, 12:50:56 AM by SlammedDime »
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Offline JBlaze

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,178
  • Gender: Male
    • jason.p.clemons on Facebook
    • jasonclemons on GitHub
    • jasonclemons1 on LinkedIn
    • @fragicide on Twitter
    • clemons.io
Re: Can't quick modify or quote
« Reply #7 on: March 27, 2009, 12:48:35 AM »
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...

Quote
File 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

Offline SlammedDime

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,276
  • School of Air Ride
    • matt.zuba on Facebook
    • @mattzuba on Twitter
Re: Can't quick modify or quote
« Reply #8 on: March 27, 2009, 12:49:42 AM »
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...
                     

Offline JBlaze

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,178
  • Gender: Male
    • jason.p.clemons on Facebook
    • jasonclemons on GitHub
    • jasonclemons1 on LinkedIn
    • @fragicide on Twitter
    • clemons.io
Re: Can't quick modify or quote
« Reply #9 on: March 27, 2009, 12:59:41 AM »
Yay! 8)
Jason Clemons
Former Team Member 2009 - 2012

Offline trekkie2444

  • Full Member
  • ***
  • Posts: 602
Re: Can't quick modify or quote
« Reply #10 on: March 29, 2009, 05:10:21 AM »
Do I put this in my theme folder or just the /smf directory?

Offline SlammedDime

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,276
  • School of Air Ride
    • matt.zuba on Facebook
    • @mattzuba on Twitter
Re: Can't quick modify or quote
« Reply #11 on: March 29, 2009, 05:48:31 AM »
in your main SMF directory.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Offline trekkie2444

  • Full Member
  • ***
  • Posts: 602
Re: Can't quick modify or quote
« Reply #12 on: April 02, 2009, 02:49:53 AM »

Offline SlammedDime

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,276
  • School of Air Ride
    • matt.zuba on Facebook
    • @mattzuba on Twitter
Re: Can't quick modify or quote
« Reply #13 on: April 02, 2009, 12:18:54 PM »
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...
                     

Offline trekkie2444

  • Full Member
  • ***
  • Posts: 602
Re: Can't quick modify or quote
« Reply #14 on: April 02, 2009, 03:32:54 PM »
I can't find a homepages directory.

Offline SlammedDime

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,276
  • School of Air Ride
    • matt.zuba on Facebook
    • @mattzuba on Twitter
Re: Can't quick modify or quote
« Reply #15 on: April 02, 2009, 04:11:54 PM »
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...
                     

Offline Jessikard

  • Jr. Member
  • **
  • Posts: 236
Re: Can't quick modify or quote
« Reply #16 on: April 05, 2009, 07:36:52 PM »
 :-* works great

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

Offline trekkie2444

  • Full Member
  • ***
  • Posts: 602
Re: Can't quick modify or quote
« Reply #17 on: April 05, 2009, 09:11:17 PM »
I can't access that directory in the FTP.

Offline SlammedDime

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,276
  • School of Air Ride
    • matt.zuba on Facebook
    • @mattzuba on Twitter
Re: Can't quick modify or quote
« Reply #18 on: April 05, 2009, 09:27:30 PM »
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...
                     

Offline Major Truth

  • Jr. Member
  • **
  • Posts: 122
Re: Can't quick modify or quote
« Reply #19 on: May 08, 2009, 11:08:15 AM »
?> 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.