View Full Version : LinkMe Hack
Pseudomizer
04-30-2004, 10:00 PM
OR
How-To-Link-us in a nutshell
I have created a PHP file and one template which creates a new page in the look and feel of your domain. This file searches the directory ./images/banners/ and creates for each file which is found there an image and the appropriate source code in html. This source code can be copied via double click into the clipboard. :o
The aim of this mini-hack would be, to make it easier for your members to link your homepage/domain. In addition it will make your life easier because every graphic that you copy into /images/banners will automatically be translated into your LinkMe page. Once installed you just add more banners and graphics and you do not have to care any more about any HTML code. :devious:
Installation instructions are in the zip file. Install time estimated: 2 mins
I will only give support if you click on the install button on the right upper corner or you click on this INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=64615) link.
If you want to see it live in action please visit:
Example (http://www.LoveTalks.de/forum/LinkMe.php)
But it is in german (http://www.LoveTalks.de/downloads/LinkMe_Hack_Deutsch.zip). :nervous:
Update:
Changes for functions_online.php implemented into the ZIP file and posted below.
Cheers,
Boofo
05-01-2004, 07:06 PM
There! I clicked install, now where's my support?! ;)
Pseudomizer
05-01-2004, 07:17 PM
There! I clicked install, now where's my support?! ;)
Tell me your problem please. :nervous:
Cheers,
Skyline_GT
05-01-2004, 09:43 PM
Good Job:D
I like this:D
FleaBag
05-02-2004, 12:03 AM
Cool. :)
Boofo
05-02-2004, 02:56 AM
Tell me your problem please. :nervous:
Cheers,
No problems. I just thought I'd ask since you said you would only provide support if we clicked the install button. Sorry if I made you nervous. ;)
GamerJunk.net
05-02-2004, 05:17 AM
Cool hack!
I-Web
05-02-2004, 08:09 AM
Nice one
Pseudomizer
05-02-2004, 10:30 AM
No problems. I just thought I'd ask since you said you would only provide support if we clicked the install button. Sorry if I made you nervous. ;)
I know that buddy. :laugh:
Cheers,
aloha
05-02-2004, 08:12 PM
Boofo, your a silly little critter lol
Thanks for the hack
keep coding :P
Pseudomizer
05-04-2004, 10:49 AM
Hi @LL,
i forgot to change the function_online.php for the correct view on the online.php.
Please do the following:
IN: includes/functions_online.php
Find:
default:
if ($permissions['wolpermissions'] & CANWHOSONLINEBAD)
Above add:
case 'LinkMe':
$userinfo['action'] = 'LinkMe';
$userinfo['where'] = "<a href=\"LinkMe.php\">$vboptions[bbtitle] LinkMe</a>";
break;
Then find in the same file:
default:
$userinfo['activity'] = 'unknown';
}
Above add:
case 'LinkMe.php':
$userinfo['activity'] = 'LinkMe';
break;
Cheers,
PixelFx
05-04-2004, 07:42 PM
is the above change updated in the zip? cool system by the way :)
Pseudomizer
05-04-2004, 07:55 PM
is the above change updated in the zip? cool system by the way :)
Yes. I updated it before i sent out the update to all installers.
Cheers,
SmartGnome
05-06-2004, 08:32 AM
@Pseudomizer
Great hack, thanks. This was exactly what we were looking for :banana:
Install is clicked and install was piece a cake
CharlieBrownDE
05-06-2004, 08:41 AM
@Pseudomizer
Great hack, thanks. This was exactly what we were looking for :banana:
Install is clicked and install was piece a cake
hello Pseudomizer,
can you publish this expansion at vbulletin-Germany, too or does it adapt to the forum language? is only no asks ( ist ja nur ne frage:) )
Pseudomizer
05-06-2004, 09:12 AM
hello Pseudomizer,
can you publish this expansion at vbulletin-Germany, too or does it adapt to the forum language? is only no asks ( ist ja nur ne frage:) )
Hi Charlie,
i know that problem with vbulletin germany and com. I am not a member of the germany one and the license transfer something i do not like personally.
Aber schau Dir mal bitte mein erstes Posting in diesem Thread GENAU an und Du wirst f?ndig. :devious:
Cheers,
CharlieBrownDE
05-06-2004, 09:27 AM
hello Pseudomizer,
can you publish this expansion at vbulletin-Germany, too or does it adapt to the forum language? is only no asks ( ist ja nur ne frage:) )
thx. blind:D
Christine
05-07-2004, 11:38 PM
Oh this is pretty!
*installs*
Oh wow, very nice.
*clicks Install*
Just what I needed! Thanks mate. Clicked Install.
edit: On the source code (inside the textbox), how can we change the HTML format?
<!-- http://www.calpolyonline.com/forums Advertising Start -->
<A HREF="http://www.calpolyonline.com/forums">
<IMG SRC="http://www.calpolyonline.com/forums/images/banners/calpolyonlinemain.gif"></A>
<!-- http://www.calpolyonline.com/forums Advertising End -->
I want to change the above code to:
<a href="http://www.calpolyonline.com/forums/">
<img src="http://www.calpolyonline.com/forums/images/banners/calpolyonlinemain.gif" alt="ALT"></a>
Notice the change? I have removed the <!-- --> brackets, removed capitalization, added a backward slash on the URL and added a "ALT" code. How would you be able to do that? Thank you for the support. Just the hack I was waiting for. :up:
StarBuG
05-09-2004, 05:37 PM
Thx for this nice hack.
I have a question wich is not directly regarding your hack but maybe someone can help me anyway.
I have a hack wich shows "unknown location" in user online and I tried to edit functions_online.php
The second option is clear but how is the the first "case" determant?
case 'LinkMe': (the LinkMe)
It cant be define('THIS_SCRIPT','....'); cause you have "chat" entered in the LinkMe.php (should be fixed ;))
I realy can?t figure that out.
Can anyone help?
StarBuG
Pseudomizer
05-09-2004, 06:10 PM
Just what I needed! Thanks mate. Clicked Install.
edit: On the source code (inside the textbox), how can we change the HTML format?
<!-- http://www.calpolyonline.com/forums Advertising Start -->
<A HREF="http://www.calpolyonline.com/forums">
<IMG SRC="http://www.calpolyonline.com/forums/images/banners/calpolyonlinemain.gif"></A>
<!-- http://www.calpolyonline.com/forums Advertising End -->
I want to change the above code to:
<a href="http://www.calpolyonline.com/forums/">
<img src="http://www.calpolyonline.com/forums/images/banners/calpolyonlinemain.gif" alt="ALT"></a>
Notice the change? I have removed the <!-- --> brackets, removed capitalization, added a backward slash on the URL and added a "ALT" code. How would you be able to do that? Thank you for the support. Just the hack I was waiting for. :up:
Hi iKwak,
you talk about this section in the php file:
<code style=\"white-space:nowrap\">
<!-- $vboptions[bburl] Advertising Start --><BR>
<A HREF=\"$vboptions[bburl]\"><BR><IMG SRC=\"$vboptions[bburl]/images/banners/".$file."\"></A><BR>
<!-- $vboptions[bburl] Advertising End -->
</code></pre>
Change it for your particular request to:
<code style=\"white-space:nowrap\">
<A HREF=\"$vboptions[bburl]/\"><BR><IMG SRC=\"$vboptions[bburl]/images/banners/".$file."\" alt=\"ALT\"></A><BR>
</code></pre>
Cheers,
Pseudomizer
05-09-2004, 06:16 PM
Thx for this nice hack.
I have a question wich is not directly regarding your hack but maybe someone can help me anyway.
I have a hack wich shows "unknown location" in user online and I tried to edit functions_online.php
The second option is clear but how is the the first "case" determant?
case 'LinkMe': (the LinkMe)
It cant be define('THIS_SCRIPT','....'); cause you have "chat" entered in the LinkMe.php (should be fixed ;))
I realy can?t figure that out.
Can anyone help?
StarBuG
Thanks StarBug for pointing this out. But regardless of this it should work with the appropriate changes.
But ok. With the next update i will change the header in the PHP file from:
define('THIS_SCRIPT','chat');
to
define('THIS_SCRIPT','LinkMe');
And for your first request:
It is very easy to define unknown locations. You have to create 2 entries. One entry like this:
case 'LinkMe':
$userinfo['action'] = 'LinkMe';
$userinfo['where'] = "<a href=\"LinkMe.php\">$vboptions[bbtitle] LinkMe</a>";
break;
and then a second entry like this:
case 'LinkMe.php':
$userinfo['activity'] = 'LinkMe';
break;
And if you would like to know where to place these please look into my install.html from this hack. This should help.
Cheers,
StarBuG
05-09-2004, 06:22 PM
Thanks StarBug for pointing this out. But regardless of this it should work with the appropriate changes.
But ok. With the next update i will change the header in the PHP file from:
define('THIS_SCRIPT','chat');
to
define('THIS_SCRIPT','LinkMe');
And for your first request:
It is very easy to define unknown locations. You have to create 2 entries. One entry like this:
case 'LinkMe':
$userinfo['action'] = 'LinkMe';
$userinfo['where'] = "<a href=\"LinkMe.php\">$vboptions[bbtitle] LinkMe</a>";
break;
and then a second entry like this:
case 'LinkMe.php':
$userinfo['activity'] = 'LinkMe';
break;
And if you would like to know where to place these please look into my install.html from this hack. This should help.
Cheers,
You missunderstood me.
I know where I should place this but I need to know where:
case 'LinkMe':
the 'LinkMe' is taken from.
Hope you know what I mean
Ah and one more thing to fixe:
In LinkMe.php
find:
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('LinkMe') . '");');
above it add:
$navbits = array('' => "LinkMe");
$navbits = construct_navbits($navbits);
;)
StarBuG
Pseudomizer
05-09-2004, 06:59 PM
You missunderstood me.
I know where I should place this but I need to know where:
case 'LinkMe':
the 'LinkMe' is taken from.
Hope you know what I mean
Ah and one more thing to fixe:
In LinkMe.php
find:
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('LinkMe') . '");');
above it add:
$navbits = array('' => "LinkMe");
$navbits = construct_navbits($navbits);
;)
StarBuG
Hi,
the location is the key. In this line you define what should happen:
$userinfo['where'] = "<a href=\"YOUR.php\
If the user is on this php file you define the action.
And thanks for the hint ( it is not a fix ) but it works as it is. Or it doesn't ?
Cheers,
StarBuG
05-09-2004, 07:15 PM
I have tried that
the file is called: vb_jukebox.php
i have in functions_online.php
case 'Jukebox':
$userinfo['action'] = 'vB Jukebox';
$userinfo['where'] = "<a href=\"vb_jukebox.php\">$vboptions[bbtitle] vB Jukebox</a>";
break;
case 'vb_jukebox.php':
$userinfo['activity'] = 'vB Jukebox';
break;
But it still shows unknown location
(I added it below your LinkMe code)
Any idea?
And without my "fix" you don?t have a location in the navbar ;)
Greetings
StarBuG
Pseudomizer
05-09-2004, 07:20 PM
I have tried that
the file is called: vb_jukebox.php
i have in functions_online.php
case 'Jukebox':
$userinfo['action'] = 'vB Jukebox';
$userinfo['where'] = "<a href=\"vb_jukebox.php\">$vboptions[bbtitle] vB Jukebox</a>";
break;
case 'vb_jukebox.php':
$userinfo['activity'] = 'vB Jukebox';
break;
But it still shows unknown location
(I added it below your LinkMe code)
Any idea?
And without my "fix" you don?t have a location in the navbar ;)
Greetings
StarBuG
Your code is correct. So you either have a comma wrong or you placed it into the wrong section.
And thanks for the navbar hint. I will build this into the next version.
Cheers,
StarBuG
05-09-2004, 07:23 PM
Your code is correct. So you either have a comma wrong or you placed it into the wrong section.
And thanks for the navbar hint. I will build this into the next version.
Cheers,
I put it exactly below your code infact I copied your code and just replaced the needed parts.
here:
case 'LinkMe':
$userinfo['action'] = 'LinkMe';
$userinfo['where'] = "<a href=\"LinkMe.php\">$vboptions[bbtitle] LinkMe</a>";
break;
case 'Jukebox':
$userinfo['action'] = 'vB Jukebox';
$userinfo['where'] = "<a href=\"vb_jukebox.php\">$vboptions[bbtitle] vB Jukebox</a>";
break;
default:
if ($permissions['wolpermissions'] & CANWHOSONLINEBAD)
AND:
case 'LinkMe.php':
$userinfo['activity'] = 'LinkMe';
break;
case 'vb_jukebox.php':
$userinfo['activity'] = 'vB Jukebox';
break;
default:
$userinfo['activity'] = 'unknown';
}
Can it be that there is something that needs to be in the file vb_jukebox.php too to work?
Star
Pseudomizer
05-09-2004, 07:29 PM
I put it exactly below your code infact I copied your code and just replaced the needed parts.
here:
case 'LinkMe':
$userinfo['action'] = 'LinkMe';
$userinfo['where'] = "<a href=\"LinkMe.php\">$vboptions[bbtitle] LinkMe</a>";
break;
case 'Jukebox':
$userinfo['action'] = 'vB Jukebox';
$userinfo['where'] = "<a href=\"vb_jukebox.php\">$vboptions[bbtitle] vB Jukebox</a>";
break;
default:
if ($permissions['wolpermissions'] & CANWHOSONLINEBAD)
AND:
case 'LinkMe.php':
$userinfo['activity'] = 'LinkMe';
break;
case 'vb_jukebox.php':
$userinfo['activity'] = 'vB Jukebox';
break;
default:
$userinfo['activity'] = 'unknown';
}
Can it be that there is something that needs to be in the file vb_jukebox.php too to work?
Star
It can't be THIS_SCRIPT because i had this wrong and it worked for me. :surprised:
So it is either the globaltemplate or the include of the global.php. I did nothing else.
Cheers,
StarBuG
05-09-2004, 07:39 PM
YES
I solved it!!! hehe
The second entry
$userinfo['activity'] = 'Jukebox';
determens the location-
The first entry handles the display in the useronline view
where
case 'Jukebox':
is definded by "activity" ;)
Just in case anyone wants to know
Thx for the quick help and for this nice hack
If you want to have some suggestions to improve your hack:
It would be good to be able to define folders outside of the forum cause I store my banners outside the forum and like it is now I have to update both folders when I add banners
Greetings
StarBuG
Pseudomizer
05-09-2004, 07:48 PM
YES
I solved it!!! hehe
The second entry
$userinfo['activity'] = 'Jukebox';
determens the location-
The first entry handles the display in the useronline view
where
case 'Jukebox':
is definded by "activity" ;)
Just in case anyone wants to know
Thx for the quick help and for this nice hack
If you want to have some suggestions to improve your hack:
It would be good to be able to define folders outside of the forum cause I store my banners outside the forum and like it is now I have to update both folders when I add banners
Greetings
StarBuG
Glad you found it.
And for the directory:
You change it to whatever diretory you want in ( total path if you wish):
$direktory = "./images/banners";
And you can also change the URL to the pictures in(also other URLs):
<IMG SRC=\"$vboptions[bburl]/images/banners/".$file.
But 95% of the people have their banners in the same domain and in the same webroot. You can change it. It will work.
Cheers,
StarBuG
05-09-2004, 07:52 PM
Glad you found it.
And for the directory:
You change it to whatever diretory you want in ( total path if you wish):
$direktory = "./images/banners";
And you can also change the URL to the pictures in(also other URLs):
<IMG SRC=\"$vboptions[bburl]/images/banners/".$file.
But 95% of the people have their banners in the same domain and in the same webroot. You can change it. It will work.
Cheers,
I tried to replace the directorys but I got page not found or a blank page.
I replaced the url in the link so the users wich copy the code use our right banner directory but the automated display in linkme.php of the images does not work.
Only the header is generated.
But never mind it is not that important ;)
StarBuG
ps: I wanted this because my forum is not the center of my project. You can have a look if you want (see my sig) ;)
Thanks for the support Pseudomizer. :up:
May i reccomend something....
if ($file == "." || $file == ".." || $file == "index.htm" || $file == "CVS") {
} else {
Change to this if ($file != "." || $file != ".." || $file != "index.htm" || $file != "CVS") {
$bild = "./images/banners/$file";
$info = getimagesize($bild);
$id = filesize($bild);
.......
.......
}
ALSO
Why am i getting a blank page? Really wierd.
Pseudomizer
05-11-2004, 01:20 PM
May i reccomend something....
if ($file == "." || $file == ".." || $file == "index.htm" || $file == "CVS") {
} else {
Change to this if ($file != "." || $file != ".." || $file != "index.htm" || $file != "CVS") {
$bild = "./images/banners/$file";
$info = getimagesize($bild);
$id = filesize($bild);
.......
.......
}
ALSO
Why am i getting a blank page? Really wierd.
Hi,
can you tell me why you are suggesting this please ? I would like to know your intention for this change.
And the reason for getting a blank page is 99% not having the template in the correct style implemented.
Cheers,
I was just cleaning up your code....
[php]if ($file == "." || $file == ".." || $file == "index.htm" || $file == "CVS") {
} else {[php] Means.... IF $file = any of those.... { } do nothing.
I simply did IF ($file != those... then do .
As said, just cleaning your code up :p:D
JagFan
05-11-2004, 07:42 PM
I have installed..works great...thanks!! :)
Erwin
05-13-2004, 10:53 AM
Good idea! :)
paratek
05-14-2004, 01:34 AM
Great Hack!..thanks for this one
Clicks the install
Jimmy D. Giles
05-16-2004, 12:44 AM
@Pseudomizer
Great hack, thanks. This was exactly what we were looking for :banana:
Install is clicked and install was piece a cake
Where did that dancing banana come from? Funny, very funny.
Christine
05-16-2004, 10:13 PM
Ok, I am having a really bizarre problem with this. None of the images are showing up, and from viewing the source code, they aren't broken, they just aren't being served.
This is happening on several other sites that are using linkme (following links from this thread), so I wrote Pseudo to ask him about it, and he is not having this problem, so my computer must be posessed.
Ironically, all of the other images on the sites I checked are working just fine -- just not the logos for this hack.
This is happening on IE 6, FireFox .8 and Opera 7.25
I have attached a screen shot of Pseudo's linkme page (as it is the one I sent him for help) showing what view I am seeing in the various browsers.
Anyone have any idea what on earth could be causing this, or how I can fix it?
Help!?
Pseudomizer
05-16-2004, 11:21 PM
Hi Christine,
i did some further investigation on this. I think i found the error. I configured my PHP file with the following line:
$bild = "./images/banners/$file";
$info = getimagesize($bild);
$id = filesize($bild);
$size = round ($id / 1024 ,2);
But it should be:
$bild = "images/banners/$file";
$info = getimagesize($bild);
$id = filesize($bild);
$size = round ($id / 1024 ,2);
Compare the first 2 lines. I looked into the source code and the link was before the fix:
<IMG SRC="http://www.LoveTalks.de/forum/./images/banners/alogo.gif">
and now it is:
<IMG SRC="http://www.LoveTalks.de/forum/images/banners/alogo.gif">
I think this was the reason for not showing up. Could you please check now if you can see the pictures ? If yes, then i have to either alter the zip file or include a note in the install instructions to point this out.
Thanks for pointing this out and hopefully this caused the problem because it looks obvious. :nervous:
Cheers,
Christine
05-17-2004, 12:00 AM
Hi Pseudo,
Thanks for looking again. I really think it is something with my computer. Not only did that not work after a hard refresh, but I am not able to go directly to this image either: http://www.LoveTalks.de/forum/images/banners/alogo.gif Odd, because all of your other images are showing up just fine?
Pseudomizer
05-17-2004, 12:50 AM
Hi Pseudo,
Thanks for looking again. I really think it is something with my computer. Not only did that not work after a hard refresh, but I am not able to go directly to this image either: http://www.LoveTalks.de/forum/images/banners/alogo.gif Odd, because all of your other images are showing up just fine?
You can not see this picture ? Are you serious ? This would be very strange.
Cheers,
Christine
05-17-2004, 12:28 PM
Hi Pseudo,
It is definitely in my computer. I checked it from work this morning, and this one is fine (ss attached). No clue as to what is going on at home.
Does anyone have any ideas on what I can look at?
Christine
05-18-2004, 12:59 AM
This is a problem with my firewall. :rolleyes:
Sorry for the confusion. I will try and get it sorted if I can figure out how to make it quit "helping" me.
Pseudomizer
05-18-2004, 03:24 AM
This is a problem with my firewall. :rolleyes:
Sorry for the confusion. I will try and get it sorted if I can figure out how to make it quit "helping" me.
Glad you found it.
Cheers,
glenvw
05-26-2004, 03:02 PM
I have yet to install a hack in VB# although I installed several in VB2
My ignorance is showing up since I have to ask, where on earth do you create a new template? Don't you just generate them on the fly ?
Pseudomizer
05-26-2004, 03:39 PM
I have yet to install a hack in VB# although I installed several in VB2
My ignorance is showing up since I have to ask, where on earth do you create a new template? Don't you just generate them on the fly ?
No problem. You click in your ACP ( admin control panel ) on Styles & Templates, then on Style Manager, then in the corresponding style you click on the <<>> button on the right side.
Then you click on the drop down list of "all style options". There you can find "create new template".
Cheers,
cogimo
06-05-2004, 12:26 PM
Hi
I followed all the directions and uploaded all the files
I am getting page not found when I pull up LinkMe.php in the browser
Thanks
Robert
Pseudomizer
06-05-2004, 03:35 PM
Hi
I followed all the directions and uploaded all the files
I am getting page not found when I pull up LinkMe.php in the browser
Thanks
Robert
If you get page not found then you uploaded the file into the wrong directory. Perhaps you have a problem with the uppercase and lowercase ?
If you would get a white page then you would be missing the template but in your situation with page not found 404 error the file is named differently or the URL is not correct.
Check again please.
Cheers,
Pseudomizer
06-08-2004, 01:04 AM
Hi
I followed all the directions and uploaded all the files
I am getting page not found when I pull up LinkMe.php in the browser
Thanks
Robert
Hmm. Any update ? Does it work now ?
Cheers,
cogimo
06-08-2004, 02:10 AM
thanks so much yes it worked thanks
Great hack but I need information on changing to a different page, I want it to point to our portal and not the forums themself www.chetnet.co.uk/portal
I think this has somthing to do with the [bburl] but not sure what to change it to, can someone point out what line I need to change and what it needs changing to please along the same line as this if you dont mind, I'm still a total idiot when it comes to php
find this line
and change it to this
Many thanks for the hack and your time
Chet
Pseudomizer
06-11-2004, 06:21 PM
Find this line:
<A HREF=\"$vboptions[bburl]\"><BR><IMG SRC=\"$vboptions[bburl]/images/banners/".$file."\"></A><BR>
Change it to:
<A HREF=\"http://www.chetnet.co.uk/portal
\"><BR><IMG SRC=\"$vboptions[bburl]/images/banners/".$file."\"></A><BR>
Cheers,
Thanks very much for the prompt reply
Cheers
Chet
Pseudomizer
06-11-2004, 06:51 PM
Thanks very much for the prompt reply
Cheers
Chet
You're welcome.
Cheers,
oops, I spoke to soon, I get the following error wich I asume is the line I have just altered, the error is Parse error: parse error in /LinkMe.php on line 58
this looks like the following: -
<A HREF="http://www.chetnet.co.uk/portal\"><BR><IMG SRC=\"$vboptions[bburl]/images/banners/".$file."\"></A><BR>
Regards and thanks for you support
Chet
Pseudomizer
06-11-2004, 11:27 PM
oops, I spoke to soon, I get the following error wich I asume is the line I have just altered, the error is Parse error: parse error in /LinkMe.php on line 58
this looks like the following: -
<A HREF="http://www.chetnet.co.uk/portal\"><BR><IMG SRC=\"$vboptions[bburl]/images/banners/".$file."\"></A><BR>
Regards and thanks for you support
Chet
Sorry, i forgot the \ before the "http. Insert the \ before the "http//blala and it will work.
Cheers,
Don't be sorry
It worked a treat, many thanks
Chet
egyptsons
06-13-2004, 08:46 AM
good one like linke with us ;)
ZoNe|GsT
06-17-2004, 04:43 AM
Nice simple mod. Worked like a charm, install took less than 5 minutes.
Thanks Pseudomizer
*clicks install
Ronso Rage
06-17-2004, 02:45 PM
Nice job, quick and easy install works well
*RR clicks install*
joeychgo
06-19-2004, 12:48 AM
This is great!!!!!!!!!!
THanks!!!!!!!!!!
I do have a suggestion however ---
Have a second section for clickable sig panels --- so member can get stock sig panels
Pseudomizer
06-19-2004, 12:51 AM
This is great!!!!!!!!!!
THanks!!!!!!!!!!
I do have a suggestion however ---
Have a second section for clickable sig panels --- so member can get stock sig panels
Hi Joeychgo,
please be more precise. I do not understand what you are suggesting. If you can provide more details in wording or screenshots or live examples, i could try to include this or not.
Thanks.
Cheers,
Pseudomizer, I think what joey means is to not just have a section for displaying linkback icons and logos but forum signature images as well that members can make use of.
perhaps, one folder 'banner' is created for linkback icons and logos and another folder 'sigs' just for forum sigs.
The script will poll thru the folder banner and display with clickable code for icon and images used in linkback
and at the same time poll thru the folder sigs to display with clickable code for images used in forum signatures.
It probably is formatted differently on the LinkMe.php page then.
:)
Pseudomizer
06-19-2004, 11:54 AM
Pseudomizer, I think what joey means is to not just have a section for displaying linkback icons and logos but forum signature images as well that members can make use of.
perhaps, one folder 'banner' is created for linkback icons and logos and another folder 'sigs' just for forum sigs.
The script will poll thru the folder banner and display with clickable code for icon and images used in linkback
and at the same time poll thru the folder sigs to display with clickable code for images used in forum signatures.
It probably is formatted differently on the LinkMe.php page then.
:)
Hi cinq,
so the difference would be the one section would have as cut and paste code the < A HREF and the other section would have [ I M G Tags as cut and paste ?
Do we talk about the same type of banners or a different set of banners ?
If it is the same i could build in a selection field for HTML or BB Code at the top and the code would change accordingly.
If it is not the same set of banners i would need to create a new page for a new directory with BB code.
Did i get this right now and is this what you are proposing ?
Cheers,
Different banners probably :)
Like i mentioned, one set of images in the folder 'banners' another in 'sigs' ( image sets are different )
The code could perhaps read the ones in banners folder and output with cut and paste code < A HREF . The code likewise polls the ones in sigs folder and output with cut and paste code but with [ I M G tags instead for easier cut and paste by members for use either in the forum or in other forums as their sig.
the results , if possible are displayed on the same page, just one part of the page for banners and the other for sigs.
Not sure if i am making myself clear, hope you get what i mean :)
cosmictej
06-20-2004, 09:58 AM
hello Pseudomizer,
can you publish this expansion at vbulletin-Germany, too or does it adapt to the forum language? is only no asks ( ist ja nur ne frage:) )
brilliant hack very easy 2 install :)
Pseudomizer
06-20-2004, 04:51 PM
Different banners probably :)
Like i mentioned, one set of images in the folder 'banners' another in 'sigs' ( image sets are different )
The code could perhaps read the ones in banners folder and output with cut and paste code < A HREF . The code likewise polls the ones in sigs folder and output with cut and paste code but with [ I M G tags instead for easier cut and paste by members for use either in the forum or in other forums as their sig.
the results , if possible are displayed on the same page, just one part of the page for banners and the other for sigs.
Not sure if i am making myself clear, hope you get what i mean :)
I will take this as an enhancement request for the next version. Good suggestion. Thanks.
Cheers,
Elemental
06-21-2004, 04:56 AM
Ok, so I did everything but what is this includes/functions_online.php Im not finding that anywhere in my root folder.
Pseudomizer
06-21-2004, 12:53 PM
Ok, so I did everything but what is this includes/functions_online.php Im not finding that anywhere in my root folder.
Hi Elemental,
does the hack work ?
The file you are talking about is from vbulletin. It should be in your /forum/includes folder. If it is not there, then you should have a problem with your vbulletin. This file is just included in this hack.
Cheers,
joeychgo
06-24-2004, 04:43 AM
Question .....
Would this be better if combined with a links hack such as: Links & Files Database (https://vborg.vbsupport.ru/showthread.php?t=60403)
My thinking is that people who link often want a link -- and would then require one less spot on the nav bar......
Of course, this could always link off the links page as well.
Thoughts?
Pseudomizer
06-24-2004, 01:26 PM
Question .....
Would this be better if combined with a links hack such as: Links & Files Database (https://vborg.vbsupport.ru/showthread.php?t=60403)
My thinking is that people who link often want a link -- and would then require one less spot on the nav bar......
Of course, this could always link off the links page as well.
Thoughts?
Hi joeychgo,
i just checked your link. It is a nice hack but it does not fit for my hack. My hack provides an easy way of creating a page for other people to copy and paste banner links. Without my hack they have to create their own templates, html or php pages and think about each individual source or link code. With my hack they just have to copy the new banner into the banner directory and that's it. A very easy way to implement new banner.
And you are right about the link to my hack. This is possible. But thank your for your proposal. I apprechiate new ideas.
Cheers,
cosmictej
06-24-2004, 04:18 PM
Hi Pseudomizer, can you get this working with vbadvanced cmps? so like on the front page bt just a little module that displays the banners in the linkme section and has a link.
Also gr8 hack
Pseudomizer
06-24-2004, 05:29 PM
Hi Pseudomizer, can you get this working with vbadvanced cmps? so like on the front page bt just a little module that displays the banners in the linkme section and has a link.
Also gr8 hack
Hi cosmictej,
i do not have the vbadvanced cmps installed on my domains. The question should be if they would add my hack into their hack or if this would be considered as an add-on to their hack.
In addition this will depend on the number of requests. If there is only one request to implement my hack into their hack, then i will not do it. I am brutal honest here because i do not have the time for individually customized hacks.
Hope this helps.
Cheers,
Pseudomizer
07-08-2004, 05:12 AM
Hello
i just try to install this hack .. and when i try to view it ... it just blank page any idea please
thankyou
Yes. The answer is very easy. You created the template in the wrong style set, or you are using a style where you did not implement the new template. Just create the template in every style you are offering and the problem will be gone.
Cheers,
Onkel_Tom
08-19-2004, 08:49 PM
Onkel_Tom clicks install ;)
Danke Schorsch !
For those people which have the problem that no image is shown on the LinkMe.php page pls. check if you have Norton Internet Security installed.
I worked on this problem for 3 hours now and found that NIS is blocking /banners, /banner directory names.
If you got the same problem check the configuration page for data security in NIS and add your domain to the list of web content or just remove the /banners directory from content blocker ;)
SupraT
08-21-2004, 05:54 AM
Great Hack, thank you!
venomx
09-03-2004, 10:57 PM
Installed! Great hack but a question... Can we make this so if the person is logged in and we have Refs on it adds the persons ref link?
venomx
09-03-2004, 11:03 PM
BTW where is this linked from on the forum?
Do we have to add the link where we want it?
Pseudomizer
09-03-2004, 11:47 PM
BTW where is this linked from on the forum?
Do we have to add the link where we want it?
Yes. This is your decision where you want to place this link. Just link to the php file.
Cheers,
Warlord
09-06-2004, 05:32 PM
Sweet hack and simple install.
Two thumbs way up! :)
*clicks install*
Pseudomizer
09-06-2004, 06:38 PM
Sweet hack and simple install.
Two thumbs way up! :)
*clicks install*
You are the first one who calls this hack "sweet". But glad you like it.
Cheers,
venomx
09-06-2004, 08:34 PM
It is a nice hack... :)
Now I have 3 ways people can link to me.. Your hack, affiliate hack, or the vb ref hack... :P
Brinkley
09-13-2004, 06:02 PM
Super Hack :nervous:
Aber der Link auf der LinkMe.php m??te so aussehen >
<!-- EureUrl.de Werbung einblenden Start -->
<a href="http://www.eureUrl.de">
<img src="http://www.eureUrl.de/100x100.gif" border="0" alt="HP Name"></a>
<!-- EureUrl.de Werbung einblenden Ende -->
Greets
Pseudomizer
09-13-2004, 08:01 PM
Super Hack :nervous:
Aber der Link auf der LinkMe.php m??te so aussehen >
<!-- EureUrl.de Werbung einblenden Start -->
<a href="http://www.eureUrl.de">
<img src="http://www.eureUrl.de/100x100.gif" border="0" alt="HP Name"></a>
<!-- EureUrl.de Werbung einblenden Ende -->
Greets
Sorry, aber was willst Du uns damit sagen? Dein Link ist unlogisch. Was hat das mit 100x100 zu tun? Und warum EureURL? Jedes Board hat eine eigene URL, welche automatisch herausgelesen wird.
Bin mal auf die Antwort gespannt.
Cheers,
Brinkley
09-13-2004, 10:52 PM
Sorry, aber was willst Du uns damit sagen? Dein Link ist unlogisch. Was hat das mit 100x100 zu tun? Und warum EureURL? Jedes Board hat eine eigene URL, welche automatisch herausgelesen wird.
Bin mal auf die Antwort gespannt.
Cheers,
LoL, hast Du falsch verstanden, war bezogen auf " border="0" alt="HP Name" "
Greets
Pseudomizer
09-14-2004, 05:47 AM
LoL, hast Du falsch verstanden, war bezogen auf " border="0" alt="HP Name" "
Greets
Gut, wenn man nachfragt. Danke f?r den Hinweis.
Cheers,
intrigue
09-15-2004, 08:46 AM
this is not just a mini mod but an amazingly handy addon me thinks.
Good job, i havnt clicked on install as i will do this if and when i install it
.matt
Pseudomizer
09-15-2004, 07:17 PM
this is not just a mini mod but an amazingly handy addon me thinks.
Good job, i havnt clicked on install as i will do this if and when i install it
.matt
Thank you. Enjoy it.
Cheers,
venomx
09-25-2004, 04:20 AM
Is there any way to make it so it adds ?referrerid=# if the person veiwing the page is logged in?
Pseudomizer
09-25-2004, 09:53 AM
Is there any way to make it so it adds ?referrerid=# if the person veiwing the page is logged in?
That should be easy. Add after the link the following code:
?referrerid=".$bbuserinfo[userid]."
Cheers,
venomx
09-25-2004, 06:41 PM
Thanks will give it a try. This will tie it in good with the other ref hacks I installed :)
venomx
09-25-2004, 06:47 PM
I had to add just ?referrerid=$bbuserinfo[userid] if I add the .'s or "'s they show up in the link on the page :)
Pseudomizer
09-25-2004, 09:17 PM
I had to add just ?referrerid=$bbuserinfo[userid] if I add the .'s or "'s they show up in the link on the page :)
Glad it works.
Cheers,
Gutspiller
11-02-2004, 03:48 AM
If somebody is registered and they view the page will the links in the code include their reffer # ?
venomx
11-02-2004, 05:04 AM
If you follow the last few posts it will...
Onkel_Tom
11-02-2004, 08:44 AM
Can somebody please post the complete code for using refererid in the link ?
Pseudomizer
11-02-2004, 09:53 AM
Can somebody please post the complete code for using refererid in the link ?
Sure. No problem Tom.
<A HREF=\"$vboptions[bburl]\"?referrerid=$bbuserinfo[userid]><BR><IMG SRC=\"$vboptions[bburl]/images/banners/".$file."\"></A><BR>
Cheers,
pagekeeper
11-03-2004, 01:39 AM
would it be possible to allow more friend field, and a limit on characters with a count down box....
how do you change the footer of the email "forum is not responsible ..."
btw that code didnt work for me :(
Pseudomizer
11-03-2004, 02:01 AM
would it be possible to allow more friend field, and a limit on characters with a count down box....
how do you change the footer of the email "forum is not responsible ..."
btw that code didnt work for me :(
Hello pagekeeper,
please describe what you mean with your first sentence. It is not clear what you want.
And if the code didn't work for you, you should tell us what is wrong or what error message do you get. I can not guess your error.
Cheers,
paulyy
11-05-2004, 03:56 AM
Not bad however has browser compatibility issues. Might want to test on more than IE ;)
Ok, its been AWHILE since anyone has updated this, Soooo I will ask the next quesiton..
Most vB sites won't allow HTML coding in the sigs....How would one have this script converted to vB Code so members could add this script into their sigs....
Anyone Anyone!!!!!!!
Pseudomizer
11-25-2004, 05:48 PM
Ok, its been AWHILE since anyone has updated this, Soooo I will ask the next quesiton..
Most vB sites won't allow HTML coding in the sigs....How would one have this script converted to vB Code so members could add this script into their sigs....
Anyone Anyone!!!!!!!
Hi,
if someone wants to code it in VB, he is welcome. I do not have the time for it. Sorry.
Cheers,
ChuanSE
11-25-2004, 07:27 PM
Lovely hack mate :D
Any way to include imaging of swf (flash) banner inthere 2?
ChuanSE
11-25-2004, 09:06 PM
and how to make the target you create in html with the extra tag _blank within?
Pseudomizer
11-25-2004, 10:35 PM
Lovely hack mate :D
Any way to include imaging of swf (flash) banner inthere 2?
You need a little bit of code modification to be able to use .swf files. But it should be possible.
Cheers,
Pseudomizer
11-25-2004, 10:35 PM
and how to make the target you create in html with the extra tag _blank within?
Open the code and add the HTML code you need into the advertising part.
Cheers,
***INSTALLED***
Great Hack! No problems to report and Im on 3.0.3!
Pseudomizer
11-27-2004, 06:26 PM
***INSTALLED***
Great Hack! No problems to report and Im on 3.0.3!
Thanks. I updated the version in the header of this hack release.
Cheers,
Jason McConnell
11-30-2004, 11:57 PM
Thanks. I updated the version in the header of this hack release.
Cheers,
This seems like a very simple hack, but after following all the steps, all I get is a blank page. Any idea what's up with that?
http://www.unifiedx.com/forum/linkme.php
ChuanSE
12-01-2004, 05:35 AM
This seems like a very simple hack, but after following all the steps, all I get is a blank page. Any idea what's up with that?
http://www.unifiedx.com/forum/linkme.php
You tampered the code, i'm sure :p
As the orig file has caps in it LinkMe.php, i presume you made changes to the php file aswell? ;)
Jason McConnell
12-01-2004, 09:31 AM
You tampered the code, i'm sure :p
As the orig file has caps in it LinkMe.php, i presume you made changes to the php file aswell? ;)
all I did was rename the file so that it was all lower caps.
ChuanSE
12-01-2004, 09:35 AM
And what does it do if ya rename it with the caps?
Jason McConnell
12-01-2004, 09:37 AM
checking that now ;)
edit-- same thing :speechless:
Pseudomizer
12-01-2004, 04:14 PM
This seems like a very simple hack, but after following all the steps, all I get is a blank page. Any idea what's up with that?
http://www.unifiedx.com/forum/linkme.php
Hi Jason,
if you are getting a white page then you have the template in the wrong style. Create the template in the correct style and you will see everything.
Cheers,
Jason McConnell
12-01-2004, 04:16 PM
Hi Jason,
if you are getting a white page then you have the template in the wrong style. Create the template in the correct style and you will see everything.
Cheers,
LOL I only have one style... :ermm:
Pseudomizer
12-01-2004, 04:24 PM
LOL I only have one style... :ermm:
If you have only one style then the name of the template which is called is not correct. Please check because it is case sensitive.
Every other installation worked fine so I strongly advise you to stick to the standard rather then renaming all the stuff, or you recode the template and the PHP file yourself.
Cheers,
Jason McConnell
12-01-2004, 05:07 PM
If you have only one style then the name of the template which is called is not correct. Please check because it is case sensitive.
Every other installation worked fine so I strongly advise you to stick to the standard rather then renaming all the stuff, or you recode the template and the PHP file yourself.
Cheers,
My apologies, I overlooked something really dumb. *embarassed*
Click's Install :) Very Nice hack :D
mcyates
12-05-2004, 11:36 PM
Modification:
Instead of the banners just sending the people who click on them to your forum. Take advantage of the referral system and have the link in the banner the referral code of the member.
Chane This: (in LinkMe.php - Line 58)
<A HREF=\"$vboptions[bburl]\"><BR><IMG SRC=\"$vboptions[bburl]/images/banners/".$file."\"></A><BR>
To This:
<A HREF=\"$vboptions[bburl]/$vboptions[forumhome].php?referrerid=$bbuserinfo[userid]\"><BR><IMG SRC=\"$vboptions[bburl]/images/banners/".$file."\"></A><BR>
Then they will be credited with anyone who signes up via the banners!!
Cheres
Gottcha
01-03-2005, 04:24 PM
installed and get the following error:
Warning: getimagesize(): Read error! in /home/fragtrad/public_html/forums/LinkMe.php on line 34
Line 34 has the following:
$info = getimagesize($bild);
This is the url to the page:
http://www.fragtraders.com/forums/LinkMe.php
Also index.html is listed on that page as well?????
Pseudomizer
01-03-2005, 05:28 PM
installed and get the following error:
Warning: getimagesize(): Read error! in /home/fragtrad/public_html/forums/LinkMe.php on line 34
Line 34 has the following:
$info = getimagesize($bild);
This is the url to the page:
http://www.fragtraders.com/forums/LinkMe.php
Also index.html is listed on that page as well?????
Hi,
i do not see any error message on your page. But if you get this error message you should be missing an add-on to calculate imagesizes.
Cheers,
Gottcha
01-03-2005, 09:06 PM
got it all going...great hack.
The Banners arent shown with Firefox 1.0 here. With IE i can see em all.
Take a Test here:
http://www.board-insel.de/werbung.php
Is ist my failure?
Pseudomizer
01-04-2005, 06:12 AM
The Banners arent shown with Firefox 1.0 here. With IE i can see em all.
Take a Test here:
http://www.board-insel.de/werbung.php
Is ist my failure?
I tried it with IE 6 and Mozilla and FireFox 0.9.2 and i can see all your banners. Anyone else who has FireFox 1.0 can give it a try on vau7's site please?
Cheers,
How mysterious...
I cant explain, but i have modified your Script a little bit and added an Option for BBcode additional to the HTML-Source...
[off-topic]Hey you're Admin of an Cat-Community. Registered...
We love Cats![/off-topic]
Pseudomizer
01-04-2005, 07:54 AM
How mysterious...
I cant explain, but i have modified your Script a little bit and added an Option for BBcode additional to the HTML-Source...
[off-topic]Hey you're Admin of an Cat-Community. Registered...
We love Cats![/off-topic]
Hi vau7,
if FireFox 1.0 doesn't show the banners, that you changed something which is not FireFox confirmative. I will update my FireFox to 1.0 and give it a try. Perhaps it is a problem in my script and not due to your changes. I will come back to you with some feedback.
This is the community of my wife. She is the cat fanatic person. :-)
Cheers,
This is the community of my wife. She is the cat fanatic person. :-)
My wife ist the motor of the catism @ our Home, too ;)
Some more strangieness:
If i this Url in my sig on some Boards (certainly in img-tags):
"http://www.board-insel.de/images/banners/werbung5.gif", from the folder of your hack i can see it in every Browser expect the Firefox 1.0.
Really mad.
peterska2
01-04-2005, 07:49 PM
I've looked in Firefox 1.0 and it shows fine.
Pseudomizer
01-04-2005, 08:02 PM
I've looked in Firefox 1.0 and it shows fine.
Thanks Peterska2. So it should be a problem of his custom FireFox? Perhaps reinstall FireFox?
Cheers,
peterska2
01-04-2005, 08:04 PM
I think so as I have this working on my site and I only use firefox
Okay, then ist everything perfect. Perhaps something with the extensions...
Now one of my Co-Admins found the Problems there was a missing closing font tag in the Template:
Your Forum Team<br /><br /><br /></font>
$advertising
</center>
Pseudomizer
01-15-2005, 06:28 PM
Now one of my Co-Admins found the Problems there was a missing closing font tag in the Template:
Your Forum Team<br /><br /><br /></font>
$advertising
</center>
Hi,
in my template? Or in your modification? Because other people can see it with FireFox.
Cheers,
<Center>
<Font face="arial,helvetica">
<Font color="#ff9900"><H3>How-To-Link us in a nutshell</H3></Font>
<Font face="arial,helvetica">
You can find here some banners which you can implement into your homepage.<BR>We added the source code which can be added via double-click into your clipboard.<BR>So it becomes very simple to add us to your own homepage.<BR><BR>
Your Forum Team
<BR><BR>
<BR>
$advertising
</Center>
Yes, this above is your original code. And it isnt XHTMl-conform becaus auf the tags like <BR> instead of <br />.
I am no coder i just give you the things my co-admin told me.
Onkel_Tom
01-15-2005, 07:26 PM
<Center>
<Font face="arial,helvetica">
<Font color="#ff9900"><H3>How-To-Link us in a nutshell</H3></Font>
<Font face="arial,helvetica">
You can find here some banners which you can implement into your homepage.<BR>We added the source code which can be added via double-click into your clipboard.<BR>So it becomes very simple to add us to your own homepage.<BR><BR>
Your Forum Team
<BR><BR>
<BR>
$advertising
</Center>
Yes, this above is your original code. And it isnt XHTMl-conform becaus auf the tags like <BR> instead of <br />.
I am no coder i just give you the things my co-admin told me.
Yes, but you can easy change the missing slashes to get XHTML conform. This is not your problem with your Firefox. My Firefox also shows me my LinkMe.php with images and also without XHTML capabilities.
Yes sure, this was ana additional info.
Now i've closed the missing font-tag i can see the images, too.
T3MEDIA
01-26-2005, 12:29 PM
Ok. This is sick... the ideas in my head for this one is out of control. All I ask is this. How can I set it up for a person... when they copy the code their referal link is in the html? AND (whhahhahahahahaaaaa) If they are a guest it takes them to my intro page about my site... that link is here...
http://www.sprnch.com/forums/faq.php?faq=faq_start_1#faq_faq_what
Pseudomizer
01-26-2005, 08:10 PM
Ok. This is sick... the ideas in my head for this one is out of control. All I ask is this. How can I set it up for a person... when they copy the code their referal link is in the html? AND (whhahhahahahahaaaaa) If they are a guest it takes them to my intro page about my site... that link is here...
http://www.sprnch.com/forums/faq.php?faq=faq_start_1#faq_faq_what
Hello T3media,
I did not implement the referral solution into my hack. Some people on this forum have done this and posted their solution in this hack thread. Perhaps they can help you here.
Cheers,
intrigue
02-21-2005, 05:59 PM
<a href="http://forum.whatever.com//images/banners/dbts-big.gif" target="_blank">http://forum.whatever.com//images/banners/dbts-big.gif</a>
i get extra slashes any ideas why?
.matt
Pseudomizer
02-22-2005, 07:06 PM
http://forum.whatever.com//images/banners/dbts-big.gif
i get extra slashes any ideas why?
.matt
Then you did not enter your path correctly. Check the path in the php file.
Cheers,
excellent mod! Saves you alot of time and all the extra hussle... thanks Pseudomizer :)
intrigue
03-21-2005, 01:09 PM
Then you did not enter your path correctly. Check the path in the php file.
Cheers,
Ok i sorted that thanks :)
What i would like to request though is you make it so you have the link back like you already have and then you also add the VBB code beneath that so for example i want to add the code to my signature in the many many forums i go to. I simply copy and paste it and then there ya go im there.
<IMAGE>
<HTML CODE>
<VBB CODE>
I have looked at the code and it seems it wouldnt take much to change this and may have a go myself tonight
thanks
.matt
artonex
04-29-2005, 10:54 PM
thanks for the nice hack gonna install it on my forums, hope it helps bring new members :)
Pseudomizer
04-29-2005, 11:01 PM
thanks for the nice hack gonna install it on my forums, hope it helps bring new members :)
Depends on the quality of your banners. ;-) Good luck.
Cheers,
angelicGrace
05-03-2005, 07:45 PM
thanks for this hack. it made my affliates links that much better. easy for folks to link back to us.
biggkay
05-03-2005, 09:44 PM
Does this work with 3.0.7? I get errors.
Warning: opendir(./images/banners): failed to open dir: No such file or directory in /LinkMe.php on line 24
Warning: readdir(): supplied argument is not a valid Directory resource in /LinkMe.php on line 25
Warning: asort() expects parameter 1 to be array, null given in /LinkMe.php on line 28
Warning: Variable passed to each() is not an array or object in /LinkMe.php on line 29
biggkay
05-03-2005, 09:51 PM
Nevermind, I got it. Had to change dirs
murrtex
10-25-2005, 03:14 AM
hi Pseudomizer can u arrange this hack for 3.5.0 version??
RichieBoy67
12-11-2005, 03:53 PM
This is great! Thanks...
I am just having one small problem. The thumbnail image is not showing up..
Thanks again,
Rich
ChuckH
01-13-2006, 06:36 PM
I would love to see this for v3.5!
monstermunch
01-20-2006, 12:55 PM
Does anyone know if you can also add the option for textlinks, as well as the banners, i have cant work out how to mod the code to do this,
anyone able to help..
thanks
EricaJoy
01-27-2006, 11:19 AM
I would love to see this for v3.5!ditto.
XtremeOffroad
02-02-2006, 04:16 AM
I would love to see this for v3.5!
Agreed
ChuanSE
02-02-2006, 03:57 PM
ye, same here. can it be done ?
designBox
02-18-2006, 09:23 AM
I'll second everybody here :D
Sounds to be an awesome hack but need to be turned into vb3.5 compatible :)
By the way, thumb up for the good work.
caislander
02-19-2006, 04:17 AM
I'll second everybody here :D
Sounds to be an awesome hack but need to be turned into vb3.5 compatible :)
By the way, thumb up for the good work.Any chance this is going to happen? it would be nice to put this back on our 3.5 board since it worked so well for our older forum :)
CSS59
02-26-2006, 08:29 AM
Hello, do you have this for 3.5? I upgraded my site and now it does not work anymore :(
EricaJoy
03-28-2006, 07:21 PM
hey to make your LinkMe file work on 3.5.x, delete it all and replace it with this:<?php
// ######################## SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
// ##################### DEFINE IMPORTANT CONSTANTS #######################
// change the line below to the actual filename without ".php" extention.
// the reason for using actual filename without extention as a value of this constant is to ensure uniqueness of the value throughout every PHP file of any given vBulletin installation.
define('THIS_SCRIPT', 'LinkMe');
// #################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array();
// get special data templates from the datastore
$specialtemplates = array();
// pre-cache templates used by all actions
$globaltemplates = array(
// change the lines below to the list of actual templates used in the script
'LinkMe'
);
// pre-cache templates used by specific actions
$actiontemplates = array();
// ########################## REQUIRE BACK-END ############################
require_once('./global.php');
// #################### HARD CODE JAVASCRIPT PATHS ########################
$headinclude = str_replace('clientscript', $vbulletin->options['bburl'] . '/clientscript', $headinclude);
// ################################################## ######################
// ######################### START MAIN SCRIPT ############################
// ################################################## ######################
$advertising = "";
$direktory = "./images/banners";
$handle=opendir($direktory);
$bbuserinfo = $vbulletin->userinfo;
unset($vbulletin->userinfo);
while ($file = readdir($handle)) {
$filelist[] = $file;
}
asort($filelist);
while (list ($a, $file) = each ($filelist)) {
if ($file == "." || $file == ".." || $file == "index.htm" || $file == "CVS") {
} else {
$bild = "./images/banners/$file";
$info = getimagesize($bild);
$id = filesize($bild);
$size = round ($id / 1024 ,2);
$advertising .= "<IMG SRC=\"".$vbulletin->options['bburl']."/images/banners/".$file."\"><BR>Pixel : ". $info[0] ." x " . $info[1] ." ca. ".$size." KB";
$advertising .= "
<BR>
<BR>
<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"650px\">
<tr>
<td class=\"smallfont\" align=\"left\">
Source Code to be linked:</td><td class=\"smallfont\" align=\"right\">
(Box Double-Click copies source code to clipboard)
</td>
</tr>
</table>";
$advertising .= "<a ondblclick='java_script_:window.clipboardData.setD ata(\"Text\",
this.innerText); alert(\"Source Code copied into clipboard.\");'>
<pre>
<div class=\"alt2\" style=\"margin:0px; padding:6px; border:1px inset; width:650px; height:70px; overflow:auto; text-align:left\">
<code style=\"white-space:nowrap\"> <!-- ".$vbulletin->options['bburl']." Advertising Start -->
<BR><A HREF=\"".$vbulletin->options['bburl']."/".$vbulletin->options['forumhome'].".php?referrerid=$bbuserinfo[userid]\"><BR><IMG SRC=\"".$vbulletin->options['bburl']."/images/banners/".$file."\"></A><BR>
<!-- ".$vbulletin->options['bburl']." Advertising End -->
</code></pre>
</A>
<BR>
<BR>";
}
}
$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('LinkMe') . '");');
?>
Save and reupload...success!
dinodonk
06-23-2006, 02:40 AM
i use .htaccess to avoid image leeching, can this hack work in my host?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.