Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Signatures not showing on forum posts created under V6

Asked Modified Viewed 4,832 times
L
leezer3
L
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions
asked
Newbie

Very odd one this-
I've upgraded my site to v7, and I've just noticed a rather random issue- If a forum post was created under v6, the user's signature just won't show. Further replies by the same user in the thread have the signature as expected, as do any new threads created by the user.

Cheers
0 replies

11 posts

A
alexxfender
A
  • Junior Member, joined since
  • Contributed 47 posts on the community forums.
  • Started 6 threads in the forums
answered
Junior Member

same here after v7.01.01 upgrade... signature doesnt show when i use quick reply
Edited by alexxfender on 14-09-2010 16:49,
0 replies
M
mpkossen
M
  • Senior Member, joined since
  • Contributed 267 posts on the community forums.
  • Started 4 threads in the forums
answered
Senior Member

That's probably because the show signature flag defaults to off for older posts (where that database setting wasn't present yet).

You could perform a query to set the show signature flag to 1 for all posts. That would solve your problem.
0 replies
A
alexxfender
A
  • Junior Member, joined since
  • Contributed 47 posts on the community forums.
  • Started 6 threads in the forums
answered
Junior Member

Can you please tell me how to query that. And how to enable signature in quick reply.
0 replies
G
GMUDuckman
G
  • Senior Member, joined since
  • Contributed 266 posts on the community forums.
  • Started 6 threads in the forums
answered
Senior Member

mysql command line -
update [fusiondatabase].[fusion_prefix]_posts set post_showsig='1';


make sure to replace the fusiondatabase and fusion_prefix with the proper values. (I.E. fusion.fusion_posts

i think the signature automagically is enabled for quick post. i could be wrong though.

EDIT - i dont think i am wrong cause i replied using quick reply and it showed my sig. :)
Edited by GMUDuckman on 15-09-2010 17:38,
0 replies
W
WEC
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
answered
Veteran Member

This code was removed in 7.01.01 forum\viewthread.php and that's why the sig doesn't show on quick reply:

    if (array_key_exists("user_sig", $userdata) && $userdata['user_sig']) {
        echo "<input type='hidden' name='show_sig' value='1' />";
    }


If sig shows here on quick reply, then this site doesn't run the 7.01.01 version of this file.
0 replies
A
alexxfender
A
  • Junior Member, joined since
  • Contributed 47 posts on the community forums.
  • Started 6 threads in the forums
answered
Junior Member

i would think that WEC is right. In which line should i add your sig code.
0 replies
M
mpkossen
M
  • Senior Member, joined since
  • Contributed 267 posts on the community forums.
  • Started 4 threads in the forums
answered
Senior Member

@alexxfender: WEC solves your problem, but not that of the OP.

@leezer3: GMUDuckman has the proper query to turn signatures on for all existing posts. To enable signatures on quick reply, use WEC's code (or download 7.01.01, because I'm 99% sure it's been fixed in there as I did commit the fix some time ago).
0 replies
A
alexxfender
A
  • Junior Member, joined since
  • Contributed 47 posts on the community forums.
  • Started 6 threads in the forums
answered
Junior Member

@ GMUDuckman, after i run the query, it now showed the sig. on old comments. BUT if i post a new comment using quick reply, sig will not show. when i post a comment using the reply button, "Show My Signature in this Post" option is selected by default. & it show the sig.
So, seems like the quick reply function in viewthread.php doesnt have default 'show sig" option on.
0 replies
A
alexxfender
A
  • Junior Member, joined since
  • Contributed 47 posts on the community forums.
  • Started 6 threads in the forums
answered
Junior Member

@mpkossen i get this prob. after i upgrade to 7.01.01! anyway let me do it again.
EDIT:
i download 7-01-01_update pack again and overwrite viewthread.php ... but would not turn on the function.
Edited by alexxfender on 15-09-2010 19:38,
0 replies
W
WEC
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
answered
Veteran Member

In viewthread.php find:

echo "<form name='inputform' method='post' action='".FORUM."post.php?action=reply&amp;forum_id=".$fdata['forum_id']."&amp;thread_id=".$_GET['thread_id']."'>\n";


Add below:

    if (array_key_exists("user_sig", $userdata) && $userdata['user_sig']) {
        echo "<input type='hidden' name='show_sig' value='1' />";
    }


7.01.00 had this code, but code is missing in 7.01.01 update files, so you need to make your update again mpkossen:

http://php-fusion.svn.sourceforge.net...=1768&
0 replies
A
alexxfender
A
  • Junior Member, joined since
  • Contributed 47 posts on the community forums.
  • Started 6 threads in the forums
answered
Junior Member

@WEC thanks.. works perfect now!
Thanks everyone.
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 11 posts
  • Votes 0 votes
  • Topic users 5 members

5 participants

M
M
  • Senior Member, joined since
  • Contributed 267 posts on the community forums.
  • Started 4 threads in the forums
W
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
L
L
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions
A
A
  • Junior Member, joined since
  • Contributed 47 posts on the community forums.
  • Started 6 threads in the forums
G
G
  • Senior Member, joined since
  • Contributed 266 posts on the community forums.
  • Started 6 threads in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet