Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Feb 2001
Posts: 169
Member
Member
Offline
Joined: Feb 2001
Posts: 169
Hey, this is the first time I do something like this... so if it's stupid please don't kick my ass :rolleyes:
Now, I will try to explain how to create more istant gremlins:

The files involved are 4 (Backup them):
- ubb_lib.cgi
- public_new_reply_form.pl (Gremlins in reply)
- public_new_topic_form.pl (Gremlins in new topic)
- public_pm_form.pl (Gremlins in private messages)

Open public_new_reply_form.pl and search for:
_____
');">Smile

_____
As you could notice, there is the code that will be filled in the message ' smile ' to obtain that image: smile.gif
All the lines after this one are the other gremlins, you just need to copy the code of one gremlin and change it with the smile you prefer...
An examle is: ');">Cool
- After you have edited public_new_topic_form.pl, open both public_new_reply_form.pl
and public_pm_form.pl, search for the same lines of public_new_topic_form.pl and copy exacly the work you has done in public_new_topic_form.pl

Ok now we are close to the finish:
Open ubb_lib.cgi, search this line:
sub Smilies {

In this routine you will find a lot of lines like this:
$_[0] =~ s/cool/ /isg;

Copy this line and replace cool with the same name you used in the previous file ex. :love:
and the Cool.gif with ex. Love.gif

Ok, this is enought, new istant gremlins will appear for your messages !!!

Sorry if I don't explain well but English is not my home language...
For any problem ... I'm here ! wink

Bye
Rutto
Sponsored Links
Joined: Feb 2001
Posts: 169
Member
Member
Offline
Joined: Feb 2001
Posts: 169
Ops, this is in the wrong forum, should be in UBB 6 Mods

Sorry frown

Joined: Feb 2001
Posts: 169
Member
Member
Offline
Joined: Feb 2001
Posts: 169
An example of my work could be found here: www.inpiega.com ( Hey it's in Italian wink )

Bye
Rutto

Joined: Feb 2001
Posts: 67
Member
Member
Offline
Joined: Feb 2001
Posts: 67
He Thanks..


What Would UBB look like with out hacks?
Joined: Mar 2001
Posts: 2
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 2
no wwith 8.4 the public_common.pl is where you need to make the changes and not

- public_new_reply_form.pl (Gremlins in reply)
- public_new_topic_form.pl (Gremlins in new topic)

for those 2 above, the other two files are the same. check http://www.csaddiction.co.uk to see.


'cos I got it like that
Sponsored Links

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:
• Shock Hosting
• Stable Host
• bluehost
• InterServer
Visit us on Facebook
Member Spotlight
Zarzal
Zarzal
Berlin, Germany
Posts: 808
Joined: July 2001
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,825
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 5951
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 3
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)