Previous Thread
Next Thread
Print Thread
Rate Thread
#192264 08/03/2002 3:46 AM
Joined: Jan 2001
Posts: 56
Member
Member
Offline
Joined: Jan 2001
Posts: 56
I tried using the signature hack that was made for 6.2.1 with 6.3.1 and it worked fine until I started using JCTemplates, now all the sudden it doesn't work, here is a copy of the hack I installed.

Code
*********************************************************************************
* MOD NAME: Show user's signature once per page *
*********************************************************************************
* DESCRIPTION: I saw in many sites that when the same user posts in the same *
* thread many times and his/her signature shows up many times, *
* and I don't really like it ;) *
* DEMO: http://lkubb.dns2go.com *
* *
*********************************************************************************
* CREATED BY: LK *
* DATE: 01/25/02 *
* VERSION: version 1.0 *
* *
*********************************************************************************
*********************************************************************************
* REQUIREMENTS: Full License *
* COMPATABILITY: works with v6.1.0, v6.2.0, v6.3.0 *
*********************************************************************************
* FILES MODIFIED: ubb_lib_posting.cgi *
*********************************************************************************
* DISCLAIMER: By using this modification, the user implicitly agrees *
* that they are willingly modifying any and all files at *
* their own risk. Should any errors occur either as a *
* direct or indirect result of said modifications the user *
* agrees not to hold Infopop Corporation or any of the *
individuals listed accountable. *
* *
* *
* IN OTHER WORDS: PLEASE MAKE BACKUP COPIES OF EVERY FILE YOU PLAN TO *
* MODIFY PRIOR TO MODIFICATION!! *
* *
* *
* FOR MORE TIPS AND TRICKS FOR USE WITH THE ULTIMATE BULLETIN BOARD *
* PLEASE US AT VISIT: *
* *
* https://ubbdev.com/ *
* *
*********************************************************************************
*********************************************************************************

****************************
* Open ubb_lib_posting.cgi *
****************************

Find:
=====

if ($thisline[12]) {

Replace with:
=============

if ($thisline[12] && !$signature[$this_user_number]) {
$signature[$this_user_number] = 1;

*********************************************************************************
* Okay, now clear cache and if it doesn't work, rehack the whole complicated hack
It does not work with 6.3.1 and JCTemplates, can anyone help?

Jason

Sponsored Links
#192265 08/04/2002 12:17 PM
Joined: Jan 2001
Posts: 56
Member
Member
Offline
Joined: Jan 2001
Posts: 56
BUMP.. Anyone?

Thanks


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)