vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   LinkMe Hack (https://vborg.vbsupport.ru/showthread.php?t=64615)

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)
Code:

&lt;A HREF=\"$vboptions[bburl]\"&gt;<BR>&lt;IMG SRC=\"$vboptions[bburl]/images/banners/".$file."\"&gt;&lt;/A&gt;<BR>
To This:

Code:

&lt;A HREF=\"$vboptions[bburl]/$vboptions[forumhome].php?referrerid=$bbuserinfo[userid]\"&gt;<BR>&lt;IMG SRC=\"$vboptions[bburl]/images/banners/".$file."\"&gt;&lt;/A&gt;<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

Quote:

Originally Posted by Gottcha
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.

vau7 01-04-2005 01:32 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?

Pseudomizer 01-04-2005 06:12 AM

Quote:

Originally Posted by vau7
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,

vau7 01-04-2005 06:36 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]

Pseudomizer 01-04-2005 07:54 AM

Quote:

Originally Posted by vau7
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.

[offtopic]This is the community of my wife. She is the cat fanatic person. :-) [/offtopic]

Cheers,

vau7 01-04-2005 08:00 AM

Quote:

[offtopic]This is the community of my wife. She is the cat fanatic person. :-) [/offtopic]
My wife ist the motor of the catism @ our Home, too ;)

vau7 01-04-2005 07:37 PM

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

Quote:

Originally Posted by peterska2
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

vau7 01-05-2005 07:33 AM

Okay, then ist everything perfect. Perhaps something with the extensions...

vau7 01-15-2005 04:52 PM

Now one of my Co-Admins found the Problems there was a missing closing font tag in the Template:

Code:

Your Forum Team<br /><br /><br /></font>
$advertising
</center>


Pseudomizer 01-15-2005 06:28 PM

Quote:

Originally Posted by vau7
Now one of my Co-Admins found the Problems there was a missing closing font tag in the Template:

Code:

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,

vau7 01-15-2005 06:46 PM

Code:

<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

Quote:

Originally Posted by vau7
Code:

<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.

vau7 01-15-2005 07:28 PM

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...1#faq_faq_what

Pseudomizer 01-26-2005 08:10 PM

Quote:

Originally Posted by T3MEDIA
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...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

Quote:

Originally Posted by intrigue
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,

Polo 03-16-2005 01:54 PM

excellent mod! Saves you alot of time and all the extra hussle... thanks Pseudomizer :)

intrigue 03-21-2005 01:09 PM

Quote:

Originally Posted by Pseudomizer
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

Quote:

Originally Posted by TheWebJunkie
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

Quote:

Originally Posted by ChuckH
I would love to see this for v3.5!

ditto.

XtremeOffroad 02-02-2006 04:16 AM

Quote:

Originally Posted by ChuckH
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

Quote:

Originally Posted by designBox
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 :(


All times are GMT. The time now is 04:37 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01458 seconds
  • Memory Usage 1,828KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete