The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Add Signature in Non-Signatured Posts?
I noticed that if you post a post/thread (etc) without having a signature and then add a signature in your user cp and make a new post/thread (etc), the signature of course is there. If you look at one of your old post/thread (etc) that was posted before you added your signature, the signature has not been updated their. If you update your signature, the post/thread (etc) with the older signature will be updated but the post/thread (etc) that was made before the signature was made, will never be updated. Is there a mod/hack/ext. (etc) to enable adding signatures to posts that never had signatures?
|
#2
|
|||
|
|||
There was by running an SQL query..I saw in another post....
|
#3
|
||||
|
||||
In profile.php find this:
Code:
$userdata->set('signature', $signature); Code:
if(empty($vbulletin->userinfo['signature'])) { $vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "post SET showsignature = '1' WHERE userid='" . $vbulletin->userinfo['userid'] . "'"); } |
#4
|
|||
|
|||
Where do you edit this?
|
#5
|
||||
|
||||
In your "profile.php" file, located in your forum's root directory. Download it from your FTP, perform the above edits, and then re-upload the file.
|
#6
|
|||
|
|||
Thanks for your help.
I downloaded the php, modified it as stated, uploaded it back, refreshed old post with no sig, still no sig. The poster has a sig enabled/set. ?? |
#7
|
||||
|
||||
The above edits will only work from this point forward. To show signatures retroactively, perform the following SQL Query:
[sql]UPDATE post SET showsignature = 1 WHERE showsignature = 0;[/sql] |
#8
|
|||
|
|||
Just received:
"vBulletin Message You are not authorized to execute SQL queries" Any ideas? |
#9
|
||||
|
||||
You can either execute the query through PHPMyAdmin or give yourself permission to execute queries through vBulletin by editing your includes/config.php file.
Search for the following in your includes/config.php file if you wish to do the latter: Code:
****** USERS WITH QUERY RUNNING PERMISSIONS ****** |
#10
|
|||
|
|||
Thanks CyberAlien and Kirk, much appreciated, exactly what I needed too!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|