|
Joined: Mar 2002
Posts: 35
Member
|
Member
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...
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
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
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
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
Joined: May 2001
Posts: 1,042 Likes: 7 |
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;
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
JIC, it's better to use: 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]%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
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...
|
|
|
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.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|