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)
-   -   vB Affiliates v.2 (https://vborg.vbsupport.ru/showthread.php?t=63044)

School-Help 10-17-2004 01:02 PM

hello , i have installed this hack and it works wonderfully , the only problem is that when i go to the affiliate page and click on the button to make each section hide under its title the image is broken. www.school-help.co.uk/affiliate.php? check out the problem . it looks fine on the first look but after you click on the image it breaks? Is there anyway to either remove these images or fix them?


:ermm: Please help anyone...

AN-net 10-17-2004 09:57 PM

Quote:

Originally Posted by School-Help
hello , i have installed this hack and it works wonderfully , the only problem is that when i go to the affiliate page and click on the button to make each section hide under its title the image is broken. www.school-help.co.uk/affiliate.php? check out the problem . it looks fine on the first look but after you click on the image it breaks? Is there anyway to either remove these images or fix them?


:ermm: Please help anyone...

this doesn't happen to me

School-Help 10-18-2004 04:54 PM

what could i do to fix it then?

dieselpowered 10-18-2004 07:11 PM

So then do we know if this will work fine with 3.0.3?? :)

AN-net 10-18-2004 08:31 PM

im using it with vb 3.0.3 it works fine for me:)

dieselpowered 10-18-2004 09:13 PM

Quote:

Originally Posted by AN-net
im using it with vb 3.0.3 it works fine for me:)

LOL ya but you are a lot smarter than me when it comes to this stuff :squareeyed:

Ok so it should install alright...I will give it a whirl, wish me luck ;)

businessjunkies 10-21-2004 03:18 AM

The emails aren't sending out to affiliates.. and it keeps saying, after they complete the form, that they are missing information..

And yes, it is installed correctly.

HiDeo 10-21-2004 03:28 AM

Thanks for the nice job, I'll use on my forum !

Spyke 10-23-2004 01:48 PM

Quote:

Originally Posted by HiDeo
Thanks for the nice job, I'll use on my forum !

hey nice mod.

It was working fine until recently and when someone signs up at the affiliate form none of the "types" are showing in the dropdown menu (community, other, etc). I checked them in the AdminCP and they are showing there, i have deleted and re-added them but still nothing?

bondjetta 10-26-2004 01:13 PM

I'm having a little issue w/ this. The Install went well, thanks to some links on MySQL queries :D, but my affiliates.php file is just coming up blank :(

http://www.emptythecup.com/forums/affiliate.php

Any ideas? was I supposed to save those queries or just run them? I'll admit i'm pretty MySQL/PHPMyAdmin retarded :(

AN-net 10-26-2004 02:37 PM

Quote:

Originally Posted by bondjetta
I'm having a little issue w/ this. The Install went well, thanks to some links on MySQL queries :D, but my affiliates.php file is just coming up blank :(

http://www.emptythecup.com/forums/affiliate.php

Any ideas? was I supposed to save those queries or just run them? I'll admit i'm pretty MySQL/PHPMyAdmin retarded :(

did you install the templates?

bondjetta 10-26-2004 03:22 PM

Quote:

Originally Posted by AN-net
did you install the templates?

sure did. i followed the instructions to a T (i do believe), at least I did everything it asked piece by piece....

I'm at work right now, but i'll try to open the instructions here and make sure i didn't miss anything. but i have 10 Affiliate templates right now, i even directly copied their names from the .txt file to keep from making typos :)

bondjetta 10-26-2004 03:25 PM

Quote:

Originally Posted by bondjetta
sure did. i followed the instructions to a T (i do believe), at least I did everything it asked piece by piece....

I'm at work right now, but i'll try to open the instructions here and make sure i didn't miss anything. but i have 10 Affiliate templates right now, i even directly copied their names from the .txt file to keep from making typos :)

and I lied, the first template was lowercase instead of caps :(


ok, i'm gonna go play around again, if i can't figure it out i'll be back :) Thanks


EDIT: I'm back: and not w/ positive results. For one, the index is working now, that's good news, however the bad news is none of the links are working. :( When I vote/rate one of the affiliates the redirect page goes into an infinite loop (links such as: http://www.emptythecup.com/forums/affiliate.php?do=vote ) or when I click on the name of the Affiliate, which should send me to their Domain, i'm getting an infinite loop.

Ideas? :)

AN-net 10-26-2004 05:16 PM

Quote:

Originally Posted by bondjetta
and I lied, the first template was lowercase instead of caps :(


ok, i'm gonna go play around again, if i can't figure it out i'll be back :) Thanks


EDIT: I'm back: and not w/ positive results. For one, the index is working now, that's good news, however the bad news is none of the links are working. :( When I vote/rate one of the affiliates the redirect page goes into an infinite loop (links such as: http://www.emptythecup.com/forums/affiliate.php?do=vote ) or when I click on the name of the Affiliate, which should send me to their Domain, i'm getting an infinite loop.

Ideas? :)

this may be due to your browser

bondjetta 10-26-2004 05:22 PM

Quote:

Originally Posted by AN-net
this may be due to your browser

Firefox 1.0 PR??


EDIT: sure as heck, it worked in IE.

Any ideas how i can cleanup that link to work in FF/Opera? :)

Spyke 10-26-2004 05:24 PM

Quote:

Originally Posted by Spyke
hey nice mod.

It was working fine until recently and when someone signs up at the affiliate form none of the "types" are showing in the dropdown menu (community, other, etc). I checked them in the AdminCP and they are showing there, i have deleted and re-added them but still nothing?

Any idea's on my problem?

Thanks.

99SIVTEC 10-27-2004 02:16 AM

Yep, I can verify the firefox problems. Any idea's on that? A large number of my users are using FF, and i'm pushing that browser hard since IE sucks so badly.

bondjetta 10-27-2004 03:00 AM

Quote:

Originally Posted by 99SIVTEC
Yep, I can verify the firefox problems. Any idea's on that? A large number of my users are using FF, and i'm pushing that browser hard since IE sucks so badly.

i'm the same way ;)

i'm investigating the "redirect" function inside of affiliate.php for anything i might be able to change to hopefully create a more firefox-friendly page :) as of right now the whole module isn't worth much to me since i (and at least half my users) are dedicated FF users :(

Spyke 10-27-2004 03:25 AM

Quote:

Originally Posted by Spyke
Any idea's on my problem?

Thanks.

Never mind, stupid me forgot to add a template :ermm:

bondjetta 10-27-2004 03:29 AM

Quote:

Originally Posted by 99SIVTEC
Yep, I can verify the firefox problems. Any idea's on that? A large number of my users are using FF, and i'm pushing that browser hard since IE sucks so badly.

After speaking with Ianomed about this he pointed out some problems with the template STANDARD_REDIRECT and Firefox...as a result I've found (at least a temporary fix) a fix for this...go to your STANDARD_REDIRECT template and change:

HTML Code:

                else
                {
                        clearTimeout(timerID);
                        window.status = "";
                        window.location = "$js_url";
                }

to:
HTML Code:

                else
                {
                        clearTimeout(timerID);
                        window.status = "";
                        window.location = "$url";
                }

I'm testing it across a few different browsers right now, i'll post if i find any irregularities, but at least the URL's are forwarding now (making this module useful again ;))

AN-net 10-27-2004 10:06 AM

Quote:

Originally Posted by bondjetta
After speaking with Ianomed about this he pointed out some problems with the template STANDARD_REDIRECT and Firefox...as a result I've found (at least a temporary fix) a fix for this...go to your STANDARD_REDIRECT template and change:

HTML Code:

                else
                {
                        clearTimeout(timerID);
                        window.status = "";
                        window.location = "$js_url";
                }

to:
HTML Code:

                else
                {
                        clearTimeout(timerID);
                        window.status = "";
                        window.location = "$url";
                }

I'm testing it across a few different browsers right now, i'll post if i find any irregularities, but at least the URL's are forwarding now (making this module useful again ;))

interesting.....

dieselpowered 10-27-2004 08:40 PM

This is a great hack, one question though...

When a user applies to have their link listed, shouldn't there be some sort of indication of what size their image should be? Or better yet, some way of having it autosize if it is too large :rolleyes: :squareeyed:

Also, not sure if this is an ongoing issue with anyone else, however, no e mails are being sent to those who apply to have their site listed. I know I applied on your site and received nothing?

AN-net 10-27-2004 08:55 PM

Quote:

Originally Posted by xtremeoff-road
This is a great hack, one question though...

When a user applies to have their link listed, shouldn't there be some sort of indication of what size their image should be? Or better yet, some way of having it autosize if it is too large :rolleyes: :squareeyed:

Also, not sure if this is an ongoing issue with anyone else, however, no e mails are being sent to those who apply to have their site listed. I know I applied on your site and received nothing?

most likely either spam blocked or the mail function did not work....

dieselpowered 10-27-2004 09:08 PM

Hmmm I am not sure....

What about the button sizes? Is there a way to indicate somewhere what size should be included for the button so that the person applying knows?

bendigo-tech 11-03-2004 10:37 AM

Quote:

Originally Posted by xtremeoff-road
Hmmm I am not sure....

What about the button sizes? Is there a way to indicate somewhere what size should be included for the button so that the person applying knows?

Change the template and put next to the button url box (88x31 MAX) or something. :)

bendigo-tech 11-03-2004 11:21 AM

I have this installed and working with with VB 3.0.3. Very nice!

That said, how can I change the email message that is sent upon approval?? I have looked every for it and can't seem to find it. :(

AN-net 11-03-2004 12:47 PM

Quote:

Originally Posted by bendigo-tech
I have this installed and working with with VB 3.0.3. Very nice!

That said, how can I change the email message that is sent upon approval?? I have looked every for it and can't seem to find it. :(

i think it was a phrase last time i remember(its early right now so im not sure....)

bendigo-tech 11-03-2004 08:45 PM

Quote:

Originally Posted by AN-net
i think it was a phrase last time i remember(its early right now so im not sure....)

I have just searched the phrases again and I can't find it anywhere. :(

EDIT: It isn't a phrase. It is in the affiliateadmin.php file in the admincp directory. No wonder I couldn't find it. :ninja:

AN-net 11-03-2004 09:51 PM

Quote:

Originally Posted by bendigo-tech
I have just searched the phrases again and I can't find it anywhere. :(

EDIT: It isn't a phrase. It is in the affiliateadmin.php file in the admincp directory. No wonder I couldn't find it. :ninja:

hehe i was such a script kiddie when i made this hack... i shouldn't have hardcoded that>_<

trackpads 11-03-2004 10:16 PM

Dude, this script still rocks. Are you planning an update to it?

AN-net 11-03-2004 10:26 PM

Quote:

Originally Posted by trackpads
Dude, this script still rocks. Are you planning an update to it?

maybe eventually, i guess if time allows it...

trackpads 11-04-2004 12:13 AM

Quote:

Originally Posted by AN-net
maybe eventually, i guess if time allows it...

I will not beg..... yet.... ok.... no not yet..... maybe.... grrrrr.... ;-)

Quelyn 11-05-2004 04:07 PM

Sorry if this is already in the thread, I don't have much time to go through and read it. But when I rate an affiliate, I get this:

There was no affiliate or rating identified.If you followed a bad link please report it to a board administrator. Your are now being redirected back to the affiliate list.

Click here if your browser does not automatically redirect you.

Any reason?

Pseudomizer 11-06-2004 09:51 AM

Quote:

Originally Posted by Quelyn
Sorry if this is already in the thread, I don't have much time to go through and read it. But when I rate an affiliate, I get this:

There was no affiliate or rating identified.If you followed a bad link please report it to a board administrator. Your are now being redirected back to the affiliate list.

Click here if your browser does not automatically redirect you.

Any reason?

Your PHP Version is the problem. Go into the script and replace the variables with either $_POST[variablename] or $_SERVER[variablename]. Then it will work.

Cheers,

Quelyn 11-07-2004 04:09 AM

Quote:

Originally Posted by Pseudomizer
Your PHP Version is the problem. Go into the script and replace the variables with either $_POST[variablename] or $_SERVER[variablename]. Then it will work.

Cheers,

Sorry I'm not sure exactly what you mean to change .. and I don't want to break anything, think you could specify, or point me to where it might say that. Thanks much.

alzibub 11-07-2004 11:58 AM

Great hack, installed in 5 mins and working fine!
Thanks very much :)

Gaffer 11-12-2004 08:26 PM

i just installed this... it looks like it's working Great. but has anyone made an addon which will desplay some of the affiliates on the main forum index...

this is not the affiliates hack (it's installed on my other forums) but something like what is down the bottom of this page

www.midasaray.com/vb/

venomx 11-12-2004 08:33 PM

Yeah would be a nice addition to have it on the forums or even on vBadvanced CMPS.

Gaffer 11-13-2004 09:45 AM

Quote:

Originally Posted by venomx
Yeah would be a nice addition to have it on the forums or even on vBadvanced CMPS.

there is an addon for the CMPS... but it's not what i need...

yuvalo 11-13-2004 03:20 PM

I installed this on my site and found a security issue.

When i tried to add a site, and in its description used the character ' (the single quote), the query failed. The error itself indicated that this feature is vulnerable to SQL injection attacks.

could some of you try and verify this?

Yuval


All times are GMT. The time now is 02:25 AM.

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.01638 seconds
  • Memory Usage 1,848KB
  • 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
  • (4)bbcode_html_printable
  • (23)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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