Previous Thread
Next Thread
Print Thread
Rate Thread
#37590 05/20/2000 2:41 PM
Joined: May 2000
Posts: 4
TT
Offline
Junior Member
Junior Member
Offline
Joined: May 2000
Posts: 4
This one is a simple Hack, but it makes the Board more personal, if the user is welcome with his username.

Finde:

Code
code:

Ad just before:

Code
code:

Then look for the line:

Code
code:

TT

------------------
Admin of Scrabledo's Infoforum
Mod of Randy's InfoBoard

Sponsored Links
Joined: May 2000
Posts: 118
Member
Member
Offline
Joined: May 2000
Posts: 118
This is in Ultimate.cgi

Does anyone have an example of this hack in action?

#37592 05/21/2000 11:09 AM
Joined: May 2000
Posts: 4
TT
Offline
Junior Member
Junior Member
Offline
Joined: May 2000
Posts: 4
How stupid...ofcorse....Ultimate.cgi
I was so happy about my first Hacks, I foregot this.

The Hack is on my Board, but it's in german Language.

I've also the Idea to Welcome Guests (if the Cookie is not set yet!), but this Hack is not realized in my Board yet.

It must be something like that:

$WelcomeUser=$cookie{'UserName'};
if ($WelcomeUser eq "") {
$WelcomeText= qq(Welcome on $BBName
your name is not known yet);
} else {
$WelcomeText = "Welcome $WelcomeUser on $BBName";
}

I will try this hack, and post, if it works.

TT

Silly me...I foregot: Then Change the Message (Part 2) into $WelcomeText
The Code is working on my Board ( Scrabbledo's InfoBoard )

------------------
Admin of Scrabledo's Infoforum
Mod of Randy's InfoBoard

Joined: Jan 2000
Posts: 60
Member
Member
Offline
Joined: Jan 2000
Posts: 60
i thought we already have this hack?

------------------

Free UBB Instalation

Contact on AIM: vmnweb


<FONT COLOR="blue">
Free UBB Instalation

Contact on AIM: vmnweb
</FONT c>
Joined: Jun 2000
Posts: 19
Junior Member
Junior Member
Offline
Joined: Jun 2000
Posts: 19
Hey when you get the second part of the code to work, please IM or ICQ me. I really need the second part of it becasue it only welcomes the registered users and not the guests.

AIM: KewlShytz
ICQ: 35660466

Thanks

------------------
RapSource.Com

Sponsored Links
Joined: Mar 2000
Posts: 445
Member
Member
Offline
Joined: Mar 2000
Posts: 445
Yeah same with me I thought it had already been done. I think the only difference between the 2 is that it welcomes you to $BBName.
So instead of:
Welcome Pyros
its:
Welcome Pyros on UBBCodeHacking Forums.

Joined: May 2000
Posts: 4
TT
Offline
Junior Member
Junior Member
Offline
Joined: May 2000
Posts: 4
The Code is as I posted it.

add this before the Line print<
$WelcomeUser=$cookie{'UserName'};
if ($WelcomeUser eq "") {
$WelcomeText="Welcome Guest on $BBName";
} else {
$WelcomeText="Welcome $WelcomeUser on $BBName";
}

and search for this line:

$BBName

and replace it with this line:

$WelcomeText

TT

------------------

Joined: Jun 2000
Posts: 6
Junior Member
Junior Member
Offline
Joined: Jun 2000
Posts: 6
It doesn't work on the German 5.45c .... at the first you load the Forum .. you are a Guest .... then when you make a refresh, you are "you" [Linked Image] ....

Please make the hack better ... THX



------------------


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
Posts: 70
Joined: January 2007
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 20240430)