Previous Thread
Next Thread
Print Thread
Rate Thread
#176715 08/28/2002 3:31 AM
Joined: Mar 2002
Posts: 35
Member
Member
Offline
Joined: Mar 2002
Posts: 35
I was wondering, if anyone had an answer to what I think, should be a simple modification. I am testing the hide back by SilverSurfer which can be found here: https://ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=get_topic;f=20;t=000632

My question is, if I wanted to use an image, instead of the wording, how could I do that? I tried modifiying the file that contains the text, and adding the complete url to the test imsage, but it doesn't work. Anyone know what I could do to use a graphic instead of the wording for this hack? SilverSurfer tried, but couldn't help me, so anyone else know? Thanks to anyone that can help...

Sponsored Links
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
just get rid of the wording and use a tag?

Or is that what you did?

Joined: Mar 2002
Posts: 35
Member
Member
Offline
Joined: Mar 2002
Posts: 35
LD, I tried that. What I've done is this. Since the wording comes from the file vars_easy_hack.cgi, I just go in and do the following:

%vars_easy_hack = (
hidemessage => "[ Lockdown Enabled! Reply to view hidden information. ]",
ubb_code_hide => "Hide - UBB-Code hide-text insert",
);
1;

I change it to:

%vars_easy_hack = (
hidemessage => "",
ubb_code_hide => "Hide - UBB-Code hide-text insert",
);
1;

In that hidemessage field, I've also tried a complete url instead of the tag.. Though when I upload the file, and clear the cache, nothing ever shows up.. It's all blank on the test post's I created.. I upload the original cgi file back, and clear cache, and bam, everything works like it was... I have hard time believing that with this hack, you can't use a image instead of the wording, but I don't know what else to modify... As stated, if anyone knows, or get's this hack working with the picture instead of words, let me know please.......

Thank you.....

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
There isn't even a red X? Strange indeed.

I don't think it's as simple as it looks. Maybe ask the author.

EDIT - Ahh yes, the "'s.

Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
Quote
quote:
%vars_easy_hack = (
hidemessage => "",
ubb_code_hide => "Hide - UBB-Code hide-text insert",
);
1;

should be

%vars_easy_hack = (
hidemessage => qq~~,
ubb_code_hide => qq~Hide - UBB-Code hide-text insert~,
);
1;

Sponsored Links
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
JIC, it's better to use:
Quote
code:
Code
%vars_easy_hack = (
hidemessage => qq~<img src="http://www.url.com/forum/hide.jpg">~,
ubb_code_hide => qq~Hide - UBB-Code hide-text insert~,
);
1;

Or if you insist on perfection, use:
code:
[qb]
Code
%vars_easy_hack = (
hidemessage => qq~<img src="http://www.url.com/forum/hide.jpg" alt="" />~,
ubb_code_hide => qq~Hide - UBB-Code hide-text insert~,
);
1;
[/qb]

Joined: Mar 2002
Posts: 35
Member
Member
Offline
Joined: Mar 2002
Posts: 35
I want to thank both of you, for the heads up. I really do apprecitate the help on this. I'm very sorry it took so long to reply back, but I lost my father, and had to take time to support my family. I did test it out, and all 3 version of what you guy's posted, worked.. Thank you again, and best of luck...


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 20240430)