View Full Version : Miscellaneous Hacks - User CP Referral ID and Referrer/Referrals in Profile for vB 4
Boofo
05-27-2010, 10:00 PM
User CP Referral ID and Referrer in Profile for vB 4
Version 1.0.8
(By Boofo)
What does this product do?
This product will add a content box at the top of the User CP displaying a customizable referral "Message" and the member's "Referral Link" along with their referral count. This will also show who referred a user in their profile in the About Me tab, under Referrals, at the bottom. It will only show in the About Me tab if the user has been referred by someone. A Referred Members List has also been added for each member so you can see who a Member has referred. The referral count in the User CP will link directly to the Referred members List.
NOTE: If you are currently using Referrer in Profile for vB 4, you will need to uninstall that first, as this does the same thing but with the User CP Referral ID and Referred Members List added.
Version Information:
Version 1.0.0 --Initial release for vB 4
Version 1.0.1 --Usergroups 3 and 4 are no longer represented in the referral count in the User CP.
Version 1.0.2 --Added Referred Members List for each member and a link to the list from the User CP referral count.
Version 1.0.3 --Fixed the Referral Link to reflect the 'Script Name for Forum Home Page' setting in vB 4.
Version 1.0.4 --Product is now completely phrased.
Version 1.0.5 --Referred Members List is now alphabetically sorted and Usergroups 3 and 4 are no longer represented in the listing.
Version 1.0.6 --Added the ability to collapse the box.
Version 1.0.7 --Moved Referrer below Join Date. The Referrals will no longer show if the user has no referrals. This is done via an automatic template edit.
Version 1.0.8 --Added User CP Referral ID Box Position setting. This will allow you to choose the location where you want the Referral ID box to show in the User CP.
NOTE: The "manual_template_edit_code.txt" is included in case the automatic template edit doesn't work for some custom skins.
Installation overview:
--------------------------
1 Product XML (5 Plugins, 15 phrases, 2 templates and 1 setting)
Installation Instructions:
--------------------------
1. Add the code from the included "additional.css_template_code.txt" file to the additional.css template.
2. Go to your Admin CP
Scroll down to 'Plugin System'
Click 'Manage Products'
Click 'Add/Import Product'
Click the 'Browse' button, and locate the product-boofo_usercp_referral_id.xml file on your computer
3. Go to your Admin CP -> vBulletin Options -> User CP Referral ID and Referrer in Profile and set the following option:
--User CP Referral ID Box Position: Choose the location where you want the Referral ID box to show in the User CP. (Default is "Top of User CP")
---------------------------------------------------
Done!
Enjoy!
if ($mark_as_installed != 'clicked')
{
$you_get = 'squat';
}
else
{
$you_get = 'support';
}
wolfe
05-28-2010, 04:14 PM
can you make it so when you click on the referals amount it lists all the members who the person refered.
Boofo
05-28-2010, 04:24 PM
I had thought about that at one time and decided that is would entail another query, which I'm sure would be sever intensive if you had enough members and referrals on the site, and decided against it. It would also take a template edit or replace and I kind of wanted to stay away from that with vb 4 since they have a lot of new hooks.
Few issues I'm having...
1.) On the setting page its showing (15) for referrals
2.) on the profile page its showing (13) referrals
3.) on the profile page it doesn't list the members I've referred.
Using vB 4.0.3
Boofo
06-02-2010, 06:19 PM
Few issues I'm having...
1.) On the setting page its showing (15) for referrals
2.) on the profile page its showing (13) referrals
3.) on the profile page it doesn't list the members I've referred.
Using vB 4.0.3
Count fixed and product updated.
As far as listing the members you referred, this product does not do that. It only list the Referrer for each member in their profile.
voidmind
06-03-2010, 12:25 AM
I can't my referral link box like you have in this picture:
https://vborg.vbsupport.ru/attachment.php?attachmentid=117661&d=1275037513
I see my number of referrals under my personal information but thats til
Boofo
06-08-2010, 04:20 PM
I can't my referral link box like you have in this picture:
https://vborg.vbsupport.ru/attachment.php?attachmentid=117661&d=1275037513
I see my number of referrals under my personal information but thats til
Did you add the code to the additional.css like the instructions tell you to do?
Clicking install might get you an answer faster next time.
Not really much different to https://vborg.vbsupport.ru/showthread.php?t=231288 is it?
Boofo
06-08-2010, 07:57 PM
Yes it is very different as it is an update to the old version I did a long time back. I kept the same style as I did in the vb 3 version. Plus, it adds the Referrer in the Profile. Ace, you know very well I did this for version 3 way before the one in the link. ;)
fuffalo
06-16-2010, 05:06 PM
can't seem to get this where exactly is this supposed to go in the css?
Boofo
06-16-2010, 08:40 PM
Add the code anywhere to the additional.css template.
vidan
06-16-2010, 09:00 PM
how to add the referral in block?
i mean what's the include file? if i want to show it everywhere?
Footman
06-16-2010, 09:07 PM
Downloaded, Installed, rated... nice little touch with this. It's so wonder why vB doesn't put things like this in as default. Makes no sense, but I'm happy you wrote it in.
Thanks man.
ps.
I'm assuming this automatically adds the referrer in the correct entry box in the registration process. I mention this since I also give points for referrals so this makes it easier to accomplish this... and hopefully get my members to refer more people.
thanx again
Boofo
06-16-2010, 09:12 PM
It will automatically add the referral name if they use the referred id link when they sign on to register.
And, you're very welcome. ;)
Footman
06-16-2010, 09:14 PM
Excellent Boofo - thanks :)
Boofo
06-16-2010, 09:15 PM
how to add the referral in block?
i mean what's the include file? if i want to show it everywhere?
I'm not sure I understand what you are asking. You want it to show on every page? If so, why?
weddingforum
06-17-2010, 11:23 AM
Hi there,
Do you offer a installation service?
Please PM if you do.
Many Thanks
weddingforum
06-17-2010, 02:48 PM
Great guy, very helpful would recommend to anyone. Helped me out alot more than every hoped for.
Thanks
red.death
06-22-2010, 01:30 PM
I am having problems with this, the referral ID is not working for my members, no name is showing up in the registration when people refer.
Boofo
06-22-2010, 02:30 PM
I am having problems with this, the referral ID is not working for my members, no name is showing up in the registration when people refer.
Fixed! Thank you for pointing it out. ;)
You might want to click the install button in case there are any more updates in the future.
red.death
06-22-2010, 04:18 PM
Thanks Boofo!
Boofo
06-22-2010, 04:22 PM
Thanks Boofo!
You're very welcome. ;)
red.death
06-22-2010, 04:23 PM
Boofo, its still not working as when a different referral is clicked, one of a different user, the referrer box on registration appears as my name user 1 even if referred by user 45. Its also happening on your site.
Boofo
06-22-2010, 04:47 PM
It is working fine on my site. I used the id 2 from another user and it input that person's name in the referrer box on a new registration. If you click your own link, yes it will show up as you. Try using another referred id on the end of it after you log out and you will see that person's name in the referrer box on a new registration. if you still are having problems figuring it out, PM me and we will go to IM and get it taken care of. ;)
red.death
06-22-2010, 04:50 PM
Hmm..Still getting that problem..It could just be my cookies.
Boofo
06-22-2010, 04:54 PM
Yes, I was just going to say that as I tested it and found that if you try to do more than one referrer id in the same session, it will keep the first one. Delete your cookies and try it again and it will take the new referrer id. That is how it is supposed to work in vb.
red.death
06-22-2010, 04:58 PM
Yep Boofo, i think that was the problem :D Thanks! It works great now.
sergioloporto
06-23-2010, 09:26 PM
Hi...
how can I change the message?
Boofo
06-23-2010, 09:40 PM
Sure, just edit the template to whatever you want it to say. Make sure you leave the links as is though. When you're done editing it, send it to me in a PM and if it is better than what I already have there, I will update the hack with it.
sergioloporto
06-23-2010, 09:46 PM
Thanks for your help ... but I would like it to translate the message in another language, since I am not using English in my VB :)
If I want the text to be different, should I update the XML and re-instal it? Or there is some other easier way?
Boofo
06-23-2010, 09:52 PM
I didn't phrase the message but I can do that easily. If you want, send me in English what you want it to say and I will add it as a phrase to the hack, or you can do the template, whichever is easier for you.
Wajdan
06-29-2010, 03:43 PM
Working perfectly here, but I'm not seeing referred members in profile.
Boofo
06-29-2010, 05:06 PM
Look under the About Me tab in the profile, at the bottom (as it shows in the pic in the first post).
vidan
06-30-2010, 10:22 PM
how to show referral code everywhere? not just in profile/usercp
Boofo
07-01-2010, 07:25 AM
Are you talking about the referrfal link itself or the referral count?
Xavus
07-04-2010, 01:28 AM
How do you change the referral message that members see?
Boofo
07-04-2010, 01:46 AM
You would edit the phrases for the product.
Xavus
07-04-2010, 01:58 AM
You would edit the phrases for the product.
Is it possible to do this through the admin CP, or do I have to edit and reupload the product itself?
Boofo
07-04-2010, 02:03 AM
Find the phrases in the admin cp for the product and edit those.
vidan
07-04-2010, 02:13 AM
Are you talking about the referrfal link itself or the referral count?
referral count, so i can show referral count in everywhere
example: currently you have invited __ friends to this forum
Boofo
07-04-2010, 02:44 AM
You would have to run the query for it globally, which I wouldn't recommend as it will add a query to every page.
sergioloporto
07-11-2010, 12:21 PM
Hello Boofo,
thank you for this nice plugin! I have an idea to improve it more, I hope you like it and you can do it...
I think it would be an excellent feature to have your plugin do the following:
-Show something somewhere showing something like "Suggest this page to your friends";
-People clicking there are redirected to a page, where there is explained that the friends will receive the referrer link, so if they register the database is updated and their "referred friends" counter will increase;
-In this page there are fields like "name" "email" of the referrer and the text boxes for the email addresses of the friends;
-Friends will receive an email using the internal email system, eg. SNMP (if configured) and in the email text there will be the referrer link!
I would help many many people to "publicize" their sites...
What do you think? Is it feasible?
vidan
07-21-2010, 03:48 PM
You would have to run the query for it globally, which I wouldn't recommend as it will add a query to every page.
do you mind to share to query for running it in all pages
Thx boofo
Boofo
07-21-2010, 07:03 PM
do you mind to share to query for running it in all pages
Thx boofo
It would be the same query that is already used, but in a different hook that is global.
PankajKumar
07-24-2010, 07:18 AM
Nice plugin and will be helpful for me in next contest. Installed and marked.
sempoi
08-01-2010, 09:00 AM
may i know where exactly the additional.css file locate?
i can't find the file.
Boofo
08-01-2010, 10:19 AM
may i know where exactly the additional.css file locate?
i can't find the file.
It's a template. ;)
silent angel
08-18-2010, 05:01 PM
when i install it it dont accept and it shows this..
{ The following dependencies were not met:
1. This product is not compatible with version 4.0.0 Beta 4 of vBulletin. (Compatible starting with 4.0.0) }
Boofo
08-18-2010, 05:25 PM
when i install it it dont accept and it shows this..
{ The following dependencies were not met:
1. This product is not compatible with version 4.0.0 Beta 4 of vBulletin. (Compatible starting with 4.0.0) }
It is compatible. You will need to edit the xml file and remove 4.0.0 from this line:
<dependency dependencytype="vbulletin" minversion="4.0.0" maxversion="" />
Make sure to click install after you install it.
silent angel
08-22-2010, 05:41 PM
It is compatible. You will need to edit the xml file and remove 4.0.0 from this line:
Make sure to click install after you install it.
thanks it is installed now but i m confused in some things it is not showing reffrer no on my profile..
where i find this option ? additional.css i did not find it plz do guide me step by step.
and
what about this code ? what to do with it .. ?
if ($mark_as_installed != 'clicked')
{
$you_get = 'squat';
}
else
{
$you_get = 'support';
}
gsmlover4u
08-23-2010, 09:19 AM
there is no option to save additional.css template
#referrallink {
border: {vb:stylevar usercp_nav_blockbody_border};
padding: 0px 0px 6px 6px;
}
#referrallink legend {
font: {vb:stylevar navbar_font};
color: {vb:stylevar link_color};
padding: 3px;
margin-left: 4px
}
Boofo
08-23-2010, 10:03 AM
thanks it is installed now but i m confused in some things it is not showing reffrer no on my profile..
where i find this option ? additional.css i did not find it plz do guide me step by step.
and
what about this code ? what to do with it .. ?
if ($mark_as_installed != 'clicked')
{
$you_get = 'squat';
}
else
{
$you_get = 'support';
}
The additional.css is a template. You need to edit that in the admin cp. The referrer info will be under the About Me tab (at the bottom) in the user's profile.
You don't need to do anything with the $mark_as_installed code.
sas forum
08-24-2010, 12:52 AM
I am running VB 4.0.6 PL! and I clicked "installed" for this mod.
I imported the product and added the additional CSS, but nothing shows in the User's CP. This is a pretty straight-forward install, too easy, so I thought maybe something got boogered up when In uploaded the file.
I uninstalled and tried again, still, nothing shows. Any ideas?
Thanks for this. I have no idea why VB seems to leave stuff like this out of their design.
Boofo
08-24-2010, 10:39 AM
There is no 4.0.6 PL version. ;)
Also, are you using a custom skin?
sas forum
08-24-2010, 08:17 PM
There is no 4.0.6 PL version. ;)
Also, are you using a custom skin?
sorry bro, I boogered it up, I guess I was tired or something when I posted that.
I am running 4.0.6.
I got the PL 1 from the little text at the top of the admin area that says:
"Latest version available: 4.0.6 Patch Level 1 (http://members.vbulletin.com/)" and links to the vbulletin members area for the download.
I have not done the patch yet. Too lazy I guess, or maybe i am sick of updating VB and just need a few days off from it :)
I am running a modifieid version of the default template that I created using that new template designed in VB 4. Basically, the only stuff that was changed was the colors.
Boofo
08-24-2010, 08:49 PM
sorry bro, I boogered it up, I guess I was tired or something when I posted that.
I am running 4.0.6.
I got the PL 1 from the little text at the top of the admin area that says:
"Latest version available: 4.0.6 Patch Level 1 (http://members.vbulletin.com/)" and links to the vbulletin members area for the download.
I have not done the patch yet. Too lazy I guess, or maybe i am sick of updating VB and just need a few days off from it :)
I am running a modifieid version of the default template that I created using that new template designed in VB 4. Basically, the only stuff that was changed was the colors.
Ah, ok, you're running just the forums then. The suite doesn't have that upgrade.
You don't get the referral link box at the top of the page when you click on Settings in the header? If not, then you might not have the template hook this uses in your new template. Also, the referral names will be under the About Me tab in the profile.
sas forum
08-24-2010, 09:26 PM
Don't really know. I just clicked on the link in the admin cpanel and it lets you move a dot around on some colors to get the colors you need, then it allows you to save it.
right now I have been telling people how to make their own referral link by finding out their member number and adding it to the link like:
forum/index.php?referrerid=(insert number here)
I just figured this would make it so much easier for them
Thanks man, I will try it on the default template that came with it and see if it works.
Boofo
08-24-2010, 09:44 PM
Actually, unless you've changed it, this:
forum/index.php?referrerid=(insert number here)
should be this:
forum/forum.php?referrerid=(insert number here)
Let me know if it works with the default template and if you want, I can take a look at it and see what we need to fix it for you. PM the login details for the admin cp if you want me to look at it for you.
sas forum
08-24-2010, 10:40 PM
Actually, unless you've changed it, this:
forum/index.php?referrerid=(insert number here)
should be this:
forum/forum.php?referrerid=(insert number here)
Let me know if it works with the default template and if you want, I can take a look at it and see what we need to fix it for you. PM the login details for the admin cp if you want me to look at it for you.
Don't know, they both worked. I even tried them with different member numbers at the end and they both inputted the data into the referred by section in the registration form. I will just keep trying to get this mod to work, because it would be a lot easier and require a lot less work on the member's part. Let me check the default template, see what it does and get back with ya. Thanks.
Boofo
08-24-2010, 10:58 PM
Don't know, they both worked. I even tried them with different member numbers at the end and they both inputted the data into the referred by section in the registration form. I will just keep trying to get this mod to work, because it would be a lot easier and require a lot less work on the member's part. Let me check the default template, see what it does and get back with ya. Thanks.
If you are just running the forums, it might work with index.php. I'm not sure how that is set up, to be honest.
Let me know if it works with the default template and we can go from there. Since I run the default skin, that is what it was written on.
sas forum
08-24-2010, 11:36 PM
If you are just running the forums, it might work with index.php. I'm not sure how that is set up, to be honest.
Let me know if it works with the default template and we can go from there. Since I run the default skin, that is what it was written on.
It shows the referred members at the bottom of the about me like it did before, but no info box with their referral link at the top. I tried it on the default (stock) template that came with VB and also again on the one that I changed the colors on that we use right now.
Maybe there is a conflict with a current mod I have installed?
I currently have the following installed:
BBR - Google Analytics Addon
CT second_post_Ads
EveryWhere Sidebar
GlowHost - Spam-O-Matic
User CP Referral ID and Referrer in Profile
vBH - Add new tabs 1.2
Boofo
08-24-2010, 11:55 PM
Are you sure you are going to the right page?
/forums/usercp.php
sas forum
08-25-2010, 12:44 AM
Are you sure you are going to the right page?
/forums/usercp.php
Ah, that is it.
For some reason I was trying to view my profile and edit my profile and everything. Never clicked "settings" to get to the usercp. Man, you are smart :) Thanks for the help, sorry for being a thorn in the side of this mod. It is a great mod and makes it a lot easier for the members to refer people. If you have a donation button, I will be happy to donate some money towards the dev of new mods as I have done with others.
Thanks for the help
Boofo
08-25-2010, 01:44 AM
There is a support developer link (for donating) under my avatar in the first post. ;)
No problem. Glad all is ok now. ;)
sas forum
08-25-2010, 10:07 AM
There is a support developer link (for donating) under my avatar in the first post. ;)
No problem. Glad all is ok now. ;)
Did it, thanks.
Boofo
08-26-2010, 01:04 AM
Did it, thanks.
And it is appreciated. Thank you. ;)
karlm
09-06-2010, 02:38 AM
Works :)
Thanks :))
the_ace
09-17-2010, 05:24 AM
is there anyway to get the number of referrals to show in the postbits ?
Boofo
09-17-2010, 07:45 AM
is there anyway to get the number of referrals to show in the postbits ?
Not without adding a query for every post.
the_ace
09-17-2010, 09:48 AM
Not without adding a query for every post.
Thats fine. Thats not an issue for me.
I tried this as a plugin that hooks in to the posrbit_display_start:
(slightly modified from the plugin thats in vb 3.8.x
usersid = $this->post['userid'];
$refcount = mysql_query("SELECT username FROM " . TABLE_PREFIX . "user WHERE referrerid='$usersid'");
$referrals = mysql_num_rows($refcount);
$template_hook['postbit_userinfo_right_after_posts'] .= '<dt>Referrals</dt><dd> '. $referrals.'</dd>';
But i soon realized that I'm in way over my head with this :o
Boofo
09-17-2010, 09:59 AM
referrerid='$usersid'
should be
referrerid='$userid'
the_ace
09-17-2010, 10:15 AM
referrerid='$usersid'
should be
referrerid='$userid'
oh. Isnt it supposed to be $usersid since in the first line it says :
$usersid=$this->post['userid'];
I'm not a php coder at all but I thought that line assigns the userid to $usersid ?
Please feel free to correct me. I'm sure to learn something new here.
BTW, setting it to referrerid='$userid' in the where clause didint work either. :(
Boofo
09-17-2010, 10:31 AM
My bad. I didn't look close enough, I guess.
Look at the other queries in the mod. The should give you an idea of how to run it.
Boofo
09-17-2010, 10:46 AM
Try changing your hook location for your query to the postbit_display_complete.
the_ace
09-17-2010, 11:07 AM
Try changing your hook location for your query to the postbit_display_complete.
Thanks! that did the trick! It works now. :D
For anyone interested Here's the plugin : (Admin CP -> Plugins & Products -> Plugin Manager -> Add New Plugin )
Product : Vbulletin
Hook Location : postbit_display_complete
Titile : Referrals in Postbit
Execution Order : 5
Plugin PHP code :
$usersid = $this->post['userid'];
$refcount = mysql_query("SELECT username FROM " . TABLE_PREFIX . "user WHERE referrerid='$usersid'");
$referrals = mysql_num_rows($refcount);
$template_hook['postbit_userinfo_right_after_posts'] .= '<dt>Referrals</dt><dd> '. $referrals.'</dd>';
Plugin is Active : yes
Like Boofo said, this adds a query for every post.
catfish_pete
09-29-2010, 04:18 AM
Nice mod - thanks!
StarBuG
10-25-2010, 02:49 PM
Thank you. *installed*
The link to the Profile AboutMe Tab in the UserCP Box does not work for me.
Just a note ;)
hey i just noticed that every profile have my referral id...i mean they all have admin referral id not theirs why is that so and that additional.css where can i find that...and if i have to add then where should i add...
also please help me for this referral link...they all have same referral link which is ending up with my id number....
try to help me asap...
regards
sorry to bother you but its working now...
regards
Boofo
11-04-2010, 06:58 AM
Thank you. *installed*
The link to the Profile AboutMe Tab in the UserCP Box does not work for me.
Just a note ;)
It will only work if there is at least one referreral name to link to.
Da-Vinci
12-01-2010, 03:59 AM
Love this mod, it should be part of VB by default. I was wondering if it would be possible to somehow intergrate this to the promotion system? After X ammount of referralls a user is upgraded to VIP for example.
If not no probs, still a great mod IMHO, I've been using it a while, but just had a promotion idea for my site and wondered if it was possible.
Rated https://vborg.vbsupport.ru/external/2012/01/12.gif by me.
twiztidnati
12-09-2010, 04:58 PM
Thanks, great mod. How can I make it so that I can implement banners into this as well?
CybaGirl
12-11-2010, 07:28 PM
Can someone please tell me exactly where to find the additional.css template? I have looked in the admin panel in the Styles & Templates but can't seem to find it.
So if someone can please tell me exactly where it is. That would be great.
Thanks.
Boofo
12-12-2010, 01:49 AM
Can someone please tell me exactly where to find the additional.css template? I have looked in the admin panel in the Styles & Templates but can't seem to find it.
So if someone can please tell me exactly where it is. That would be great.
Thanks.
It is listed under CSS Templates in the templates area of the style manager.
CybaGirl
12-12-2010, 02:13 AM
Hi and thanks for getting back to me.
Is this additional.css that needs to be edited listed under the Main CSS in the style manger of the template you are using or want to use this mod with?
If so then at the top of this section it says:
"This CSS file is obsolete and is available here for reference purposes only."
So does this mean that any code placed in this section won't work or make a difference to anything?
Running v4.0.3
Thanks.
Boofo
12-12-2010, 02:39 AM
You're in the wrong area. It is the same place you edit other templates like forumhome.
Styles & Templates -> Style Manager -> Template Options -> Edit Templates
CybaGirl
12-12-2010, 03:10 AM
Ok thanks. I originally looked in that section but was looking for additional.css I didnt realise it was hidden in the"CSS Templates" section.
Still learning how to edit things on VB so I don't know where everything is.
For anyone else who has trouble finding the additional.css file. It can be found by doing this.
Styles & Templates -> Style Manager -> Template Options -> Edit Templates -> CSS Templates -> additional.css
:)
Boofo
12-12-2010, 03:39 AM
No problem. Glad you got everything sorted out. ;)
twiztidnati
12-14-2010, 02:49 PM
I figured out how to add the banners after all.
Example)
http://earnforums.com/content.php?126-link-to-us
I just added it into the template temporarily.
andrewpl
12-18-2010, 07:49 PM
Hi,
ich have install the addon and have one problem. This it not works.
Ich habe upload the Addon and write the code in the Template: additional.css.
I have Vbulletin 4.0.8
Who can i find the ref link?
Boofo
12-18-2010, 07:53 PM
Click on the Settings link in the top right of the navbar.
Kingdombuilder
02-18-2011, 01:31 AM
does anyone know what file to edit to change the address for referral?
it says this:
http://www.yoursitecom/forum/forum.php?referrerid=1
i want it to say this:
http://www.yoursite.com/forum/register.php?referrerid=1
i'm running vb 4.1.1 and when i direct people to the address provided it does not put the referral name in the referral field when register is clicked.
Boofo
02-18-2011, 04:58 AM
This link:
http://www.yoursite.com/forum/forum.php?referrerid=1
<a href="{vb:raw vboptions.bburl}/{vb:raw vboptions.forumhome}.php?referrerid={vb:var bbuserinfo.userid}">{vb:raw vboptions.bburl}/{vb:raw vboptions.forumhome}.php?referrerid={vb:var bbuserinfo.userid}</a>
is the proper link as it picks up the setting name of the file you are using for your home page. I just tested it again on my site and the name shows up properly. To test it again yourself, make sure you clear all your cookies and cache, and try it without logging in (as a guest would see) and it will show up like it is supposed to. You can not do multiple testings of it as it reads the cookie on your machine, even if you aren't logged in.
Kingdombuilder
02-18-2011, 05:47 AM
You are right thank you for the explanation. It works great as you have said. I do however have one problem. the referral count does not show up in post bits. Any ideas what I'm not doing?
Boofo
02-18-2011, 06:02 AM
It is not supposed to show up in the postbit. That would add an extra query to every post on the page. It shows up in the About me tab in the profile instead.
Alecsmith
02-19-2011, 02:34 AM
Working perfectly Thanks :)
Installed on VB 4.1.2
Boofo
02-19-2011, 02:58 AM
You might want to click the install button to be informed of any updates in the future.
Alecsmith
02-19-2011, 03:20 AM
You might want to click the install button to be informed of any updates in the future.
huh thanks some problem with my browser javascript :D
clicked on Install and tagged Mod :)
necie_r
03-03-2011, 02:54 PM
Thanks for this mod! Testing testing... :)
Alan_SP
03-13-2011, 12:50 PM
Excellent addition, but can you make it collapsible? For members who don't want to see it all the time...
Boofo
03-13-2011, 12:52 PM
It kid of defeats the purpose if they collapse it, don't you think? It reminds them to invite others to the site.
Alan_SP
03-14-2011, 02:50 PM
Certainly I know what you mean, but also, people may think this is a bit aggressive towards them. If they could collapse it, it'd be easier on them. Some would like to help forum and get more referrals, some wouldn't. Why not give them the choice?
At least I think the more choice they have, the better.
Boofo
03-14-2011, 03:20 PM
If they collapse it, it will be open again the next time they visit the page, so why bother? That is my point.
Alan_SP
03-14-2011, 11:12 PM
I think that information about state (collapsed or not) is stored in cookies, at least that was with vB3. You can collapse groups of forums, if you want it.
Anyway, I thought this would be nice addition to your mod.
Boofo
03-15-2011, 05:16 AM
I will look into it. ;)
Alan_SP
03-16-2011, 03:43 PM
Thank you. :)
Tize.
03-16-2011, 07:48 PM
Hello BooFo , thank you very much for this new addon.
I would like to know please how to install because the instructions are very difficult.
I find the file additional.css please. ?
Thanks.
Alan_SP
03-20-2011, 01:35 AM
Actually, it's very easy to install it. :)
Just find additional.css template in CSS templates and add it. The rest is importing product as any other. After that, just use it. :)
Phaedrus
03-24-2011, 08:19 PM
Can you change the box to be collapsible?
Boofo
03-24-2011, 08:21 PM
Can you change the box to be collapsible?
https://vborg.vbsupport.ru/showpost.php?p=2172837&postcount=101
DevOne5555
03-27-2011, 02:26 PM
How do I customize the message?
Boofo
03-27-2011, 04:20 PM
By editing the phrases.
Alan_SP
03-27-2011, 08:35 PM
Hey, thank you very much. :) I used code to make infractions and reputation also collapseable. :)
Now it's much better, users can collapse referral information.
Thank you again...
Boofo
03-27-2011, 09:18 PM
Hey, thank you very much. :) I used code to make infractions and reputation also collapseable. :)
Now it's much better, users can collapse referral information.
Thank you again...
Don't release that code anywhere. It's the same code I use for my Random Quotes box on the forumhome. ;)
Phaedrus
03-27-2011, 10:30 PM
Bless you. I like collapsible, and I don't like hacking the hacks.
:D
Boofo
03-27-2011, 10:39 PM
Bless you. I like collapsible, and I don't like hacking the hacks.
:D
It was actually easier to do than I had originally thought. I just used my code from the Random Quotes that I forgot I already had done.
I personally think the collapse part of this is a waste of time for a mod like this as it being open reminds people to refer others to the site. But... apparently I am alone in that belief.
Alan_SP
03-29-2011, 02:09 AM
Well, I understand your point of view, but I think that if we provide more options to users, especially ones that enable them more comfort, they might do and help our forums and spread the word. By forcing them to use something they just get irritated. :)
Also, a lot of users don't even notice collapse button, i.e. they don't use it. Sadly, they don't use referral link too. :(
On the part that the code is much simpler to apply, you're right. I tried to achieve collapsing of infractions, some users asked for that, they don't want to be reminded of their past, especially bad past and I couldn't till I saw your code. Thank you once more. :)
sergioloporto
04-12-2011, 07:03 AM
Hello, I have VB 4.0.3 and I need to upgrade to 4.1.3.
I am running User CP Referral ID and Referrer in Profile 1.0.5. I would like to upgrade to 1.0.7. Will it work on VB 4.1.3?
Should I upgrade it to 1.0.7 now or when I have VB 4.1.3?
Will I loose any settings/data during the upgrade? Will the referral data be still there?
Boofo
04-12-2011, 07:51 AM
Hello, I have VB 4.0.3 and I need to upgrade to 4.1.3.
I am running User CP Referral ID and Referrer in Profile 1.0.5. I would like to upgrade to 1.0.7. Will it work on VB 4.1.3?
Yes.
Should I upgrade it to 1.0.7 now or when I have VB 4.1.3?
Either way is fine.
Will I loose any settings/data during the upgrade?
Check your settings before you upgrade, but you should be OK.
Will the referral data be still there?
Yes.
Kiran-E-Sehar
04-12-2011, 01:05 PM
yes BOOFO Bro i clicked on INSTALLED :D
now can i click on UNINSTALLED :p
Boofo
04-12-2011, 01:45 PM
now can i click on UNINSTALLED :p
Whatever trips your trigger, I guess. ;)
addamroy
04-14-2011, 02:58 AM
Boofo, thanks for the mod.
I installed it (marked as installed and will nominate for motm) but there seems to be an issue of some sort, or maybe not.
It says in your description above, there is a link I can follow to see what members were referred by each member. I see the number of referrals, but it's not a link.
I don't have any referrals yet, just testing it out, so is the number not a link because my referral count is currently zero or because I'm missing something?
I added the additional code to the additional.css template and installed the product.
Boofo
04-14-2011, 04:27 AM
Click the Settings link in the top right of the navbar.
addamroy
04-14-2011, 11:59 AM
yes, that brings me to the usercp. This shows their referral link, but that's not my question.
There is no 'list of referred members' and the number of referrals is not clickable.
How do I see what users a member has referred to the forum, and how do other members see whom they've referred to the forum?
""A Referred Members List has also been added for each member so you can see who a Member has referred. The referral count in the User CP will link directly to the Referred members List.""
Boofo
04-14-2011, 12:21 PM
From the first post:
This will also show who referred a user in their profile in the About Me tab, under Referrals, at the bottom. It will only show in the About Me tab if the user has been referred by someone. A Referred Members List has also been added for each member so you can see who a Member has referred.
steve1966
04-17-2011, 09:43 AM
Thank you rated as 10/10
RobbieZ
04-28-2011, 05:51 PM
Thanks Boofo
My Referred is indented and not in bold :confused:
Boofo
04-28-2011, 06:21 PM
Did you read this in the first post?
Installation Instructions:
--------------------------
1. Add the code from the included "additional.css_template_code.txt" file to the additional.css template.
RobbieZ
04-28-2011, 08:54 PM
Yup, it was the first thing I did.
Boofo
04-28-2011, 10:29 PM
The you are using a custom style, I take it?
RobbieZ
04-29-2011, 06:05 AM
Yes, but installed on default too, I have noticed though that when I rep the usual vbulletin message "...you may receive some in return. etc" is now in just a plain box instead of the usual surround.
Boofo
04-29-2011, 06:33 AM
The rep vbulletin message has nothing to do with this mod.
This mod was built using the default style. How does it look in the default style?
rob01
05-23-2011, 03:18 AM
hey, thanks for your work
but im unable to locate this:
https://vborg.vbsupport.ru/attachment.php?attachmentid=127877&d=1301886365
any idea?
Boofo
05-23-2011, 03:32 AM
Click the Settings link at the top right of the Navbar.
Where do you find the additional.css template.
archet1337
07-27-2011, 05:16 AM
This is a great mod. Thanks for sharing!
But I have some trouble getting the Referrals box to show in UserCP. It only show after saving a signature.. I have no idea why it does that.
How do I get the box to show on the UserCP "main" page?
I have added the code to css and done the template edit. Have also tried uninstalling the mod and re-uploading the xml file. Still won't show in UserCP unless I save a signature.
Any suggestions to what might be wrong?
Boofo
07-27-2011, 06:00 AM
You've got another mod not playing nice with it. Maybe a sig mod of some sort? Or you added the code in the wrong place in the template.
ewebdesigner
07-30-2011, 10:29 PM
Thanks for this awesome mod. Works great!
tdkmatt
07-31-2011, 01:49 AM
i cant see iT does it work with 4.1.5?
Boofo
07-31-2011, 02:03 AM
if ($mark_as_installed != 'clicked')
{
$you_get = 'squat';
}
else
{
$you_get = 'support';
}
tdkmatt
07-31-2011, 02:43 AM
Done lol sorry i forgot
tdkmatt
07-31-2011, 02:44 AM
still nothing tho www.fatalitynetworking.com/forum
Boofo
07-31-2011, 05:18 AM
You need to turn on the referrals setting.
Admin CP -> Settings -> Options -> User Registration Options -> User Referrer -> Set it to YES
tdkmatt
07-31-2011, 06:00 AM
it is set to yes
Boofo
07-31-2011, 06:22 AM
So, no one has referred anyone on your site? What is it that you are missing exactly? maybe that will help me figure out what is going on.
tdkmatt
07-31-2011, 09:36 AM
yes they have. i cant see any of the features in your screenshots. nothing at all :P but 80% of people have used the referal system as i had a giveaway for it
Boofo
07-31-2011, 08:56 PM
You would need to set up an admin cp account so I can take a look at it and see why it isn't working for you. Being you run a custom style, that would be the first place I would look. If you want me to c heck it out, send the login details in a PM and I will get to it when I can.
River J
08-04-2011, 06:45 PM
EDIT: the problem has been fixed :)
Boofo
08-04-2011, 10:05 PM
Look at the phrases for the mod.
pokusek
08-16-2011, 01:08 PM
Is there a way to move this element (https://vborg.vbsupport.ru/attachment.php?attachmentid=127877&d=1301886365) below all other elements in USERCP (infractions, reputations etc)?
If you tell me how to do it, I will send you few bucks via PayPal. :)
Boofo
08-17-2011, 01:33 AM
Mod updated as requested.
pokusek
08-17-2011, 08:42 AM
Just a suggestion for a prospective update - it is not too important, but it would be nice if there would be an option for changing the expiration time of the referral cookie (the cookie currently expires in one year).
Boofo
08-17-2011, 09:50 AM
You should be deleting cookies from your browser way before they expire. As this mod doesn't add any cookie code, that would have to be the way vb is set up to deal with cookies. Once a person registers, it really doesn't matter, anyway.
Gemma
08-17-2011, 11:40 AM
Thanks for the update Bob :)
Boofo
08-17-2011, 12:31 PM
You're very welcome. ;)
steve1966
08-17-2011, 06:26 PM
thank you for the update boofo
archet1337
08-18-2011, 12:45 PM
Thank you for the update Boofo. Fantastic mod :)
merchanting.net
08-18-2011, 04:17 PM
Not working for 4.1.4 :(
Boofo
08-18-2011, 04:30 PM
It is working fine in vb 4.1.4.
pokusek
08-18-2011, 05:10 PM
Then upgrade to the latest version of vB (4.1.5)
merchanting.net
08-19-2011, 12:12 PM
It is working fine in vb 4.1.4.
Didn't work for me, what have I done wrong?
merchanting.net
08-20-2011, 11:25 AM
Please follow all the steps for installation don't be stupid like me..
Works, sorry for doubting you! My members are very happy, also doing a $50 referral competition :D
cleaningh89ss
08-31-2011, 08:49 PM
Hey Boofo,
Anyway to make it so if your referred and someone buys a subscription they show in a different color or box? We want users to refer people and give them a FREE month for anyone who purchases a subscription.
imcool2121
10-17-2011, 06:40 PM
it isnt working for vb 4.1.7 can you update it for that plz ?
Boofo
10-17-2011, 07:06 PM
it isnt working for vb 4.1.7 can you update it for that plz ?
I am currently on 4.1.5 PL1. When I upgrade to 4.1.7 or above, I will look at it then, since I have not had any reports of it not working on 4.1.7 until now. Are you sure it isn't working or you just don't see it? Look under the Settings link at the top right of the forumhome.
imcool2121
10-17-2011, 07:11 PM
i can see the referral link after clickin the settings.
but what it doesnt show is the number of referred members, can u fix that plz ?
Boofo
10-17-2011, 07:23 PM
Post a screenshot of what you see. Also look under the About Me tab on the Profile page at the bottom.
imcool2121
10-17-2011, 07:28 PM
ah, it was some error in my uploading. it works perfect with 4.1.7
thanks a lot
Boofo
10-17-2011, 07:47 PM
ah, it was some error in my uploading. it works perfect with 4.1.7
thanks a lot
Next time so be so quick to say something doesn't work until you read what it is supposed to do. ;)
imcool2121
10-18-2011, 03:51 AM
Next time so be so quick to say something doesn't work until you read what it is supposed to do. ;)
cool...take it easy.. :)
taffy056
12-23-2011, 04:56 PM
works with 4.1.9 thanks
lazytown
01-31-2012, 10:11 PM
This is a weird. I installed this yesterday.. I am having a large number of users saying they never referred anyone, yet their profile shows they referred several people.. Even my own profile shows I referred people I don't believe I have (never used my referral id).. Any idea why this is? Could the referral table be corrupt or the query not correct?
Boofo
01-31-2012, 10:45 PM
This mod only PULLS (READS) the info, it does not change anything or add to the db in any way. My query is correct. You have an issue somewhere else.
Alan_SP
02-01-2012, 03:16 AM
I referred people I don't believe I have (never used my referral id).. Any idea why this is? Could the referral table be corrupt or the query not correct?
You don't need to give anyone your referral ID link, it's enough that someone uses your username when registering as referral and that's it.
I also have people who referred me as they referral. Some of them I know, some don't, but main thing is, I never used referral link. You couldn't be certain why someone chooses to use someone else as their referral.
On side note, I needed to change instructions (phrase) for error when someone gives wrong (not registered) username as their referral. As you know, when you register, there's a field for your referral. And many users think they need to fill all fields, referral one included. If they give wrong username, system won't let them proceed with registration. That's why there may be some strange referrals.
This referral thing especially might be confusing for unexperienced users who don't know why they can't register. Anyway, this is reason I changed error phrase for wrong referral user, specifying that they don't need to give referral to register.
Alecsmith
02-01-2012, 03:21 AM
This is a weird. I installed this yesterday.. I am having a large number of users saying they never referred anyone, yet their profile shows they referred several people.. Even my own profile shows I referred people I don't believe I have (never used my referral id).. Any idea why this is? Could the referral table be corrupt or the query not correct?
Maybe some other Mod conflict with this one.
I.G.O.T.A.
03-03-2012, 11:56 PM
I don't have the settings link at the top of the forum. I just click the user name to go to your profile, but I don't see it when I do go to the profile. I do see the information in the about me. I also added the css changes and still don't see it. Any ideas? Running vb 4.1.5, and 4.1.10.
Boofo
03-04-2012, 12:11 AM
The settings link and the profile are 2 different links.
I.G.O.T.A.
03-04-2012, 12:36 AM
Really? I always though it took you to your profile.
Boofo
03-04-2012, 12:51 AM
Settings = usercp.php
Profile = member.php
Scyther
03-10-2012, 06:45 AM
Good work Mate!
Love it..
Vegas Dude
03-17-2012, 10:33 PM
Nice work.
One question. Am I able to search by month the referrers?
I'd want to perhaps pay for the referrals but only after I see 2 months activity. So if I was in March, can I put Jan 1st to Jan 31st and see all the possible qualifers?
Boofo
03-17-2012, 11:02 PM
Nice work.
One question. Am I able to search by month the referrers?
I'd want to perhaps pay for the referrals but only after I see 2 months activity. So if I was in March, can I put Jan 1st to Jan 31st and see all the possible qualifers?
if ($mark_as_installed != 'clicked')
{
$you_get = 'squat';
}
else
{
$you_get = 'support';
}
Vegas Dude
03-18-2012, 12:42 AM
;););););)
Boofo
03-18-2012, 12:52 AM
Currently there is no search by month option available for this mod. I think it would take more time than it is worth as a free mod to add something like that, to be honest.
Dark Navi
04-05-2012, 12:30 AM
I have an error atm, when the url is reffererid=, it doesn't show the referrer in the referral box.
If I change it to refferer= it works, but it only shows my Username, regardless of what ID is entered, is this a known problem?
Gayla
04-30-2012, 07:15 PM
Just installed and it seems to be working great. However, I'm using vba cmps and would like the referral link to go to my index page rather than the forum page. Any way to change the link? And if I did, would it still work correctly?
Thanks!
Boofo
04-30-2012, 07:33 PM
if ($mark_as_installed != 'clicked')
{
$you_get = 'squat';
}
else
{
$you_get = 'support';
}
FTG LIQUID CL
05-31-2012, 09:27 PM
will this work with 4.1.12
WendM
05-31-2012, 10:06 PM
works fine on vB4.2
thanks, Boofo! :)
FTG LIQUID CL
06-01-2012, 12:27 AM
works great with 4.1.12
mathforum
06-18-2012, 01:47 AM
Marked as installed.
Is there a way to not show the text box at in the user control panel?
addamroy
07-06-2012, 12:27 PM
I'm using 4.1.12
I can only see the referred members count and usernames on MY OWN profile, I cannot view the referred members by others via their about me tab, again I can only see this information on my own profile (admin)
I made the manual template edits, (the member info template and additional css) and uploaded the most recent version of this hack.
Can you look into this please?
Heardy
12-16-2012, 03:48 PM
Is there any way that you can get a list of the user to see how many each user has referred or do I have to do it manually? Also is there any way of making it so that each time they refer someone they get forum cash or points or something along those lines? Haven't looked into it yet but I have an idea...
Vcize
02-25-2013, 05:37 AM
This does not appear to be working for me at all on vb4.2. I imported the XML and did the template edits as specified in the files, however I don't see the referral message/link in my user profile.
ETA: website is http://www.ps4fanboy.com
vimarc
02-25-2013, 01:38 PM
Installed : Does this Referral link work like affiliate id if some one click on this link and register to forum then does credit goes to user who's referral link is used to register
Mr_Running
02-25-2013, 04:20 PM
Installed : Does this Referral link work like affiliate id if some one click on this link and register to forum then does credit goes to user who's referral link is used to register
Yes it does. :)
Mr_Running
02-25-2013, 04:24 PM
This does not appear to be working for me at all on vb4.2. I imported the XML and did the template edits as specified in the files, however I don't see the referral message/link in my user profile.
The referral link in under settings and the count is displayed when clicking the About Me tab.
kandhro
04-18-2013, 04:25 PM
Boofo thaks fr nice mod
dangioffre
05-14-2013, 07:48 PM
Is there a code I can use to add it under Post count when viewing topics.
Shaybloom
07-02-2013, 03:39 PM
does this work with 4.2.x or does it not work?
pleas help me
Mr_Running
02-01-2014, 03:56 PM
Yes, it does work. :)
alwalied
10-18-2014, 02:23 PM
I got error message when adding new post or thread.
Database error in vBulletin 4.2.2:
Invalid SQL:
INSERT INTO postlog
(postid, useragent, ip, dateline)
VALUES
(375, 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36', 702153710, 1413637358);
MySQL Error : Duplicate entry '375' for key 'PRIMARY'
Error Number : 1062
Request Date : Saturday, October 18th 2014 @ 07:02:38 AM
Error Date : Saturday, October 18th 2014 @ 07:02:38 AM
Script : http://4xplanet.com/vb/newthread.php?do=postthread&f=23
Referrer : http://4xplanet.com/vb/newthread.php?do=newthread&f=23
IP Address : 41.218.3.238
Username : alwalied
Classname : vB_Database
MySQL Version : 5.5.38-35.2-log
ozzy47
10-18-2014, 02:35 PM
So if you disable this mod you don't get that error?
alwalied
10-18-2014, 03:03 PM
So if you disable this mod you don't get that error?
i disable it and still getting the error. also when uninstalling it i got a white page only
ozzy47
10-18-2014, 03:06 PM
Then you have something other that this mod affecting you. I would check your server error logs.
alwalied
10-18-2014, 03:17 PM
this is the server error log
Error Logs
[Sat Oct 18 10:15:54 2014] CURRENT SERVER TIME
MAIN error_log:
[Sat Oct 18 10:15:50 2014] [notice] [client 54.235.208.215] mod_rbl: 54.235.208.215 is listed in RBL.
[Sat Oct 18 10:15:50 2014] [notice] [client 85.25.46.38] mod_rbl: 85.25.46.38 is listed in RBL.
[Sat Oct 18 10:15:50 2014] [notice] [client 107.22.61.99] mod_rbl: 107.22.61.99 is listed in RBL.
[Sat Oct 18 10:15:50 2014] [notice] [client 54.235.208.215] mod_rbl: 54.235.208.215 is listed in RBL.
[Sat Oct 18 10:15:50 2014] [notice] [client 85.25.46.38] mod_rbl: 85.25.46.38 is listed in RBL.
[Sat Oct 18 10:15:50 2014] [notice] [client 107.22.61.99] mod_rbl: 107.22.61.99 is listed in RBL.
[Sat Oct 18 10:15:50 2014] [notice] [client 203.211.56.7] mod_rbl: 203.211.56.7 is listed in RBL.
[Sat Oct 18 10:15:50 2014] [notice] [client 54.235.208.215] mod_rbl: 54.235.208.215 is listed in RBL.
[Sat Oct 18 10:15:50 2014] [notice] [client 176.223.126.13] mod_rbl: 176.223.126.13 is listed in RBL.
[Sat Oct 18 10:15:50 2014] [notice] [client 36.250.178.219] mod_rbl: 36.250.178.219 is listed in RBL., referer: http://www.chrome123.com/
[Sat Oct 18 10:15:50 2014] [notice] [client 107.22.61.99] mod_rbl: 107.22.61.99 is listed in RBL.
[Sat Oct 18 10:15:50 2014] [notice] [client 54.235.208.215] mod_rbl: 54.235.208.215 is listed in RBL.
[Sat Oct 18 10:15:50 2014] [error] [client 54.164.141.244] Caused by SystemException in API_Linux.cpp:444: execve() for program "/ramdisk/php/54/bin/php54" failed: Resource temporarily unavailable, referer: http://cdn3.xingcloud.com/dresses123/de/ziza.es/redirect.php?url=www.awayback.com/all-in-one-homepage/
[Sat Oct 18 10:15:50 2014] [error] [client 54.164.141.244] Premature end of script headers: index.php, referer: http://cdn3.xingcloud.com/dresses123/de/ziza.es/redirect.php?url=www.awayback.com/all-in-one-homepage/
[Sat Oct 18 10:15:50 2014] [error] [client 54.164.141.244] Caused by SystemException in API_Linux.cpp:444: execve() for program "/ramdisk/php/54/bin/php54" failed: Resource temporarily unavailable, referer: http://shop.studiotech.biz/redirect.php?action=url&goto=zh.cn.nikkei.com/gate/big5/www.awayback.com/all-in-one-homepage/
[Sat Oct 18 10:15:50 2014] [error] [client 54.164.141.244] Premature end of script headers: index.php, referer: http://shop.studiotech.biz/redirect.php?action=url&goto=zh.cn.nikkei.com/gate/big5/www.awayback.com/all-in-one-homepage/
[Sat Oct 18 10:15:50 2014] [error] [client 54.164.141.244] Caused by SystemException in API_Linux.cpp:444: execve() for program "/ramdisk/php/54/bin/php54" failed: Resource temporarily unavailable, referer: http://ax.xrea.com/jump.php?https://webmail.brocku.ca/services/go.php?url=http://www.awayback.com/all-in-one-homepage/
[Sat Oct 18 10:15:50 2014] [error] [client 54.164.141.244] Premature end of script headers: index.php, referer: http://ax.xrea.com/jump.php?https://webmail.brocku.ca/services/go.php?url=http://www.awayback.com/all-in-one-homepage/
[Sat Oct 18 10:15:50 2014] [error] [client 216.119.148.124] Caused by SystemException in API_Linux.cpp:444: execve() for program "/ramdisk/php/54/bin/php54" failed: Resource temporarily unavailable
[Sat Oct 18 10:15:50 2014] [error] [client 216.119.148.124] Premature end of script headers: index.php
[Sat Oct 18 10:15:50 2014] [notice] [client 85.25.46.38] mod_rbl: 85.25.46.38 is listed in RBL.
[Sat Oct 18 10:15:50 2014] [notice] [client 107.22.61.99] mod_rbl: 107.22.61.99 is listed in RBL.
[Sat Oct 18 10:15:50 2014] [error] [client 54.164.141.244] Premature end of script headers: 500.php, referer: http://ax.xrea.com/jump.php?https://webmail.brocku.ca/services/go.php?url=http://www.awayback.com/all-in-one-homepage/
[Sat Oct 18 10:15:50 2014] [error] [client 216.119.148.124] Premature end of script headers: 500.php
[Sat Oct 18 10:15:50 2014] [error] [client 54.164.141.244] Premature end of script headers: 500.php, referer: http://shop.studiotech.biz/redirect.php?action=url&goto=zh.cn.nikkei.com/gate/big5/www.awayback.com/all-in-one-homepage/
[Sat Oct 18 10:15:50 2014] [error] [client 54.164.141.244] Premature end of script headers: 500.php, referer: http://cdn3.xingcloud.com/dresses123/de/ziza.es/redirect.php?url=www.awayback.com/all-in-one-homepage/
[Sat Oct 18 10:15:50 2014] [notice] [client 54.235.208.215] mod_rbl: 54.235.208.215 is listed in RBL.
[Sat Oct 18 10:15:50 2014] [notice] [client 107.22.61.99] mod_rbl: 107.22.61.99 is listed in RBL.
[Sat Oct 18 10:15:50 2014] [notice] [client 176.223.126.13] mod_rbl: 176.223.126.13 is listed in RBL.
[Sat Oct 18 10:15:50 2014] [notice] [client 85.25.46.38] mod_rbl: 85.25.46.38 is listed in RBL.
[Sat Oct 18 10:15:50 2014] [notice] [client 203.211.56.7] mod_rbl: 203.211.56.7 is listed in RBL.
[Sat Oct 18 10:15:50 2014] [notice] [client 54.235.208.215] mod_rbl: 54.235.208.215 is listed in RBL.
[Sat Oct 18 10:15:50 2014] [notice] [client 107.22.61.99] mod_rbl: 107.22.61.99 is listed in RBL.
[Sat Oct 18 10:15:50 2014] [notice] [client 36.250.178.219] mod_rbl: 36.250.178.219 is listed in RBL., referer: http://www.chrome123.com/
[Sat Oct 18 10:15:50 2014] [notice] [client 85.25.46.38] mod_rbl: 85.25.46.38 is listed in RBL.
[Sat Oct 18 10:15:51 2014] [notice] [client 107.22.61.99] mod_rbl: 107.22.61.99 is listed in RBL.
[Sat Oct 18 10:15:51 2014] [notice] [client 85.25.46.38] mod_rbl: 85.25.46.38 is listed in RBL.
[Sat Oct 18 10:15:51 2014] [notice] [client 176.223.126.13] mod_rbl: 176.223.126.13 is listed in RBL.
[Sat Oct 18 10:15:51 2014] [notice] [client 107.22.61.99] mod_rbl: 107.22.61.99 is listed in RBL.
[Sat Oct 18 10:15:51 2014] [notice] [client 203.211.56.7] mod_rbl: 203.211.56.7 is listed in RBL.
[Sat Oct 18 10:15:51 2014] [notice] [client 85.25.46.38] mod_rbl: 85.25.46.38 is listed in RBL.
[Sat Oct 18 10:15:51 2014] [notice] [client 62.148.90.9] mod_rbl: 62.148.90.9 is listed in RBL.
[Sat Oct 18 10:15:51 2014] [notice] [client 107.22.61.99] mod_rbl: 107.22.61.99 is listed in RBL.
[Sat Oct 18 10:15:51 2014] [notice] [client 107.22.61.99] mod_rbl: 107.22.61.99 is listed in RBL.
[Sat Oct 18 10:15:51 2014] [notice] [client 85.25.46.38] mod_rbl: 85.25.46.38 is listed in RBL.
[Sat Oct 18 10:15:51 2014] [notice] [client 107.22.61.99] mod_rbl: 107.22.61.99 is listed in RBL.
[Sat Oct 18 10:15:51 2014] [notice] [client 195.211.155.224] mod_rbl: 195.211.155.224 is listed in RBL., referer: http://www.rehabalternatives.com/
[Sat Oct 18 10:15:51 2014] [notice] [client 107.22.61.99] mod_rbl: 107.22.61.99 is listed in RBL.
[Sat Oct 18 10:15:51 2014] [notice] [client 203.211.56.7] mod_rbl: 203.211.56.7 is listed in RBL.
[Sat Oct 18 10:15:51 2014] [notice] [client 107.22.61.99] mod_rbl: 107.22.61.99 is listed in RBL.
[Sat Oct 18 10:15:51 2014] [notice] [client 85.25.46.38] mod_rbl: 85.25.46.38 is listed in RBL.
[Sat Oct 18 10:15:52 2014] [notice] [client 107.22.61.99] mod_rbl: 107.22.61.99 is listed in RBL.
[Sat Oct 18 10:15:52 2014] [notice] [client 107.22.61.99] mod_rbl: 107.22.61.99 is listed in RBL.
[Sat Oct 18 10:15:52 2014] [notice] [client 203.211.56.7] mod_rbl: 203.211.56.7 is listed in RBL.
[Sat Oct 18 10:15:52 2014] [notice] [client 85.25.46.38] mod_rbl: 85.25.46.38 is listed in RBL.
[Sat Oct 18 10:15:52 2014] [notice] [client 107.22.61.99] mod_rbl: 107.22.61.99 is listed in RBL.
[Sat Oct 18 10:15:52 2014] [notice] [client 107.22.61.99] mod_rbl: 107.22.61.99 is listed in RBL.
[Sat Oct 18 10:15:52 2014] [notice] [client 176.223.126.13] mod_rbl: 176.223.126.13 is listed in RBL.
[Sat Oct 18 10:15:52 2014] [notice] [client 107.22.61.99] mod_rbl: 107.22.61.99 is listed in RBL.
[Sat Oct 18 10:15:52 2014] [notice] [client 85.25.46.38] mod_rbl: 85.25.46.38 is listed in RBL.
[Sat Oct 18 10:15:52 2014] [notice] [client 107.22.61.99] mod_rbl: 107.22.61.99 is listed in RBL.
[Sat Oct 18 10:15:52 2014] [notice] [client 203.211.56.7] mod_rbl: 203.211.56.7 is listed in RBL.
[Sat Oct 18 10:15:52 2014] [notice] [client 107.22.61.99] mod_rbl: 107.22.61.99 is listed in RBL.
[Sat Oct 18 10:15:52 2014] [notice] [client 85.25.46.38] mod_rbl: 85.25.46.38 is listed in RBL.
[Sat Oct 18 10:15:52 2014] [notice] [client 107.22.61.99] mod_rbl: 107.22.61.99 is listed in RBL.
[Sat Oct 18 10:15:53 2014] [notice] [client 107.22.61.99] mod_rbl: 107.22.61.99 is listed in RBL.
[Sat Oct 18 10:15:53 2014] [notice] [client 213.239.195.199] mod_rbl: 213.239.195.199 is listed in RBL.
[Sat Oct 18 10:15:53 2014] [notice] [client 203.211.56.7] mod_rbl: 203.211.56.7 is listed in RBL.
[Sat Oct 18 10:15:53 2014] [notice] [client 107.22.61.99] mod_rbl: 107.22.61.99 is listed in RBL.
[Sat Oct 18 10:15:53 2014] [notice] [client 195.42.115.224] mod_rbl: 195.42.115.224 is listed in RBL.
[Sat Oct 18 10:15:53 2014] [notice] [client 83.142.226.222] mod_rbl: 83.142.226.222 is listed in RBL.
[Sat Oct 18 10:15:53 2014] [notice] [client 85.25.46.38] mod_rbl: 85.25.46.38 is listed in RBL.
[Sat Oct 18 10:15:53 2014] [notice] [client 107.22.61.99] mod_rbl: 107.22.61.99 is listed in RBL.
[Sat Oct 18 10:15:53 2014] [notice] [client 213.239.195.199] mod_rbl: 213.239.195.199 is listed in RBL.
[Sat Oct 18 10:15:53 2014] [notice] [client 107.22.61.99] mod_rbl: 107.22.61.99 is listed in RBL.
[Sat Oct 18 10:15:53 2014] [notice] [client 85.25.46.38] mod_rbl: 85.25.46.38 is listed in RBL.
[Sat Oct 18 10:15:53 2014] [notice] [client 195.42.115.224] mod_rbl: 195.42.115.224 is listed in RBL.
[Sat Oct 18 10:15:53 2014] [notice] [client 203.211.56.7] mod_rbl: 203.211.56.7 is listed in RBL.
[Sat Oct 18 10:15:53 2014] [notice] [client 107.22.61.99] mod_rbl: 107.22.61.99 is listed in RBL.
[Sat Oct 18 10:15:53 2014] [notice] [client 93.174.93.204] mod_rbl: 93.174.93.204 is listed in RBL.
[Sat Oct 18 10:15:53 2014] [notice] [client 120.37.226.50] mod_rbl: 120.37.226.50 is listed in RBL.
[Sat Oct 18 10:15:53 2014] [notice] [client 213.239.195.199] mod_rbl: 213.239.195.199 is listed in RBL.
[Sat Oct 18 10:15:53 2014] [notice] [client 107.22.61.99] mod_rbl: 107.22.61.99 is listed in RBL.
[Sat Oct 18 10:15:53 2014] [notice] [client 195.42.115.224] mod_rbl: 195.42.115.224 is listed in RBL.
[Sat Oct 18 10:15:53 2014] [notice] [client 107.22.61.99] mod_rbl: 107.22.61.99 is listed in RBL.
[Sat Oct 18 10:15:53 2014] [notice] [client 176.223.126.13] mod_rbl: 176.223.126.13 is listed in RBL.
[Sat Oct 18 10:15:54 2014] [notice] [client 107.22.61.99] mod_rbl: 107.22.61.99 is listed in RBL.
[Sat Oct 18 10:15:54 2014] [notice] [client 213.239.195.199] mod_rbl: 213.239.195.199 is listed in RBL.
[Sat Oct 18 10:15:54 2014] [notice] [client 203.211.56.7] mod_rbl: 203.211.56.7 is listed in RBL.
[Sat Oct 18 10:15:54 2014] [notice] [client 46.105.14.54] mod_rbl: 46.105.14.54 is listed in RBL., referer: http://tutti-dolci.com/wp-login.php
[Sat Oct 18 10:15:54 2014] [notice] [client 46.174.67.107] mod_rbl: 46.174.67.107 is listed in RBL.
[Sat Oct 18 10:15:54 2014] [notice] [client 195.42.115.224] mod_rbl: 195.42.115.224 is listed in RBL.
SUEXEC error_log:
PHP error_log:
/home7/fouxplan/public_html/forum/error_log:
[07-Oct-2014 00:29:30] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/forum/includes/vb5/frontend/routing.php on line 194
[07-Oct-2014 00:29:30] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/forum/includes/vb5/frontend/routing.php on line 194
[07-Oct-2014 00:29:31] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/forum/includes/vb5/frontend/routing.php on line 194
[07-Oct-2014 00:29:31] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/forum/includes/vb5/frontend/routing.php on line 194
[07-Oct-2014 00:29:32] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/forum/includes/vb5/frontend/routing.php on line 194
[07-Oct-2014 00:29:32] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/forum/includes/vb5/frontend/routing.php on line 194
[07-Oct-2014 00:29:34] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/forum/includes/vb5/frontend/routing.php on line 194
[07-Oct-2014 00:29:35] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/forum/includes/vb5/frontend/routing.php on line 194
[07-Oct-2014 00:29:36] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/forum/includes/vb5/frontend/routing.php on line 194
[07-Oct-2014 00:29:36] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/forum/includes/vb5/frontend/routing.php on line 194
[07-Oct-2014 00:29:37] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/forum/includes/vb5/frontend/routing.php on line 194
[07-Oct-2014 00:29:37] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/forum/includes/vb5/frontend/routing.php on line 194
[07-Oct-2014 00:29:38] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/forum/includes/vb5/frontend/routing.php on line 194
[07-Oct-2014 00:29:39] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/forum/includes/vb5/frontend/routing.php on line 194
[07-Oct-2014 00:29:39] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/forum/includes/vb5/frontend/routing.php on line 194
/home7/fouxplan/public_html/error_log:
[15-Oct-2014 13:48:59] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/includes/vb5/frontend/routing.php on line 194
[15-Oct-2014 15:06:30] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/includes/vb5/frontend/routing.php on line 194
[16-Oct-2014 04:13:45] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/includes/vb5/frontend/routing.php on line 194
[16-Oct-2014 08:11:31] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/includes/vb5/frontend/routing.php on line 194
[16-Oct-2014 08:11:31] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/includes/vb5/frontend/routing.php on line 194
[16-Oct-2014 09:05:10] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/includes/vb5/frontend/routing.php on line 194
[16-Oct-2014 10:46:21] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/includes/vb5/frontend/routing.php on line 194
[16-Oct-2014 14:00:51] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/includes/vb5/frontend/routing.php on line 194
[16-Oct-2014 14:03:22] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/includes/vb5/frontend/routing.php on line 194
[16-Oct-2014 14:03:22] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/includes/vb5/frontend/routing.php on line 194
[17-Oct-2014 06:08:10] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/includes/vb5/frontend/routing.php on line 194
[17-Oct-2014 12:46:01] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/includes/vb5/frontend/routing.php on line 194
[17-Oct-2014 17:54:15] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/includes/vb5/frontend/routing.php on line 194
[18-Oct-2014 01:33:42] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/includes/vb5/frontend/routing.php on line 194
[18-Oct-2014 01:33:43] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/includes/vb5/frontend/routing.php on line 194
[18-Oct-2014 04:11:18] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/includes/vb5/frontend/routing.php on line 194
[18-Oct-2014 04:47:20] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/includes/vb5/frontend/routing.php on line 194
[18-Oct-2014 04:47:52] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/includes/vb5/frontend/routing.php on line 194
[18-Oct-2014 04:48:41] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/includes/vb5/frontend/routing.php on line 194
[18-Oct-2014 04:49:13] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/includes/vb5/frontend/routing.php on line 194
[18-Oct-2014 04:50:16] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/includes/vb5/frontend/routing.php on line 194
[18-Oct-2014 04:58:06] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/includes/vb5/frontend/routing.php on line 194
[18-Oct-2014 04:58:56] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/includes/vb5/frontend/routing.php on line 194
[18-Oct-2014 05:07:29] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/includes/vb5/frontend/routing.php on line 194
[18-Oct-2014 05:07:51] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/includes/vb5/frontend/routing.php on line 194
[18-Oct-2014 05:08:47] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/includes/vb5/frontend/routing.php on line 194
[18-Oct-2014 05:10:54] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/includes/vb5/frontend/routing.php on line 194
[18-Oct-2014 06:53:51] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/includes/vb5/frontend/routing.php on line 194
[18-Oct-2014 07:03:01] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/includes/vb5/frontend/routing.php on line 194
[18-Oct-2014 09:19:28] PHP Parse error: syntax error, unexpected T_FUNCTION in /home7/fouxplan/public_html/includes/vb5/frontend/routing.php on line 194
ozzy47
10-18-2014, 03:20 PM
Ok lets do this, disable plugins via the includes/config.php file.
To do that open your includes/config.php file and below <?php add the following.
define('DISABLE_HOOKS', true);So it looks like this:
<?php
define('DISABLE_HOOKS', true);
/*================================================= =====================*\
|| ################################################## ################## ||
|| # vBulletin 4.2.2 Use a editor like notepad++ (http://notepad-plus-plus.org/download/v6.6.8.html) to edit any files, don't use Notepad or Wordpad.
If that fixes the issue enable plugins again by adding // before the line you added, then navigate to ACP --> Plugins & Products --> Manage Products and disable one mod at a time until you find the one causing the issue.
Once you find the culprit, post in that mods thread what the issue is, and maybe someone in that thread can help. :)
ozzy47
10-18-2014, 03:22 PM
Wait, you are running vB5?
alwalied
10-18-2014, 03:24 PM
Wait, you are running vB5?
no i using vb 4.2.2
ozzy47
10-18-2014, 03:25 PM
Ok then do what I said in post #207
alwalied
10-18-2014, 03:27 PM
Ok lets do this, disable plugins via the includes/config.php file.
To do that open your includes/config.php file and below <?php add the following.
define('DISABLE_HOOKS', true);So it looks like this:
<?php
define('DISABLE_HOOKS', true);
/*================================================= =====================*\
|| ################################################## ################## ||
|| # vBulletin 4.2.2 Use a editor like notepad++ (http://notepad-plus-plus.org/download/v6.6.8.html) to edit any files, don't use Notepad or Wordpad.
If that fixes the issue enable plugins again by adding // before the line you added, then navigate to ACP --> Plugins & Products --> Manage Products and disable one mod at a time until you find the one causing the issue.
Once you find the culprit, post in that mods thread what the issue is, and maybe someone in that thread can help. :)
still the same error
ozzy47
10-18-2014, 03:38 PM
Then I would restore you backup, you messed something up somewhere.
alwalied
10-18-2014, 03:54 PM
Then I would restore you backup, you messed something up somewhere.
it is a new fourm still have no backup
ozzy47
10-18-2014, 04:06 PM
Yuo should always take a backup before adding anything to the site, mods or edits.
If it is not that far along, maybe just start over. If it is far along, I would post in the General Discussion Forum, https://vborg.vbsupport.ru/forumdisplay.php?f=251
And state what you did from start to finish that broke the site, and include the error logs, and maybe someone can help you out. :)
alwalied
10-18-2014, 04:11 PM
Yuo should always take a backup before adding anything to the site, mods or edits.
If it is not that far along, maybe just start over. If it is far along, I would post in the General Discussion Forum, https://vborg.vbsupport.ru/forumdisplay.php?f=251
And state what you did from start to finish that broke the site, and include the error logs, and maybe someone can help you out. :)
thank you for the assistance
Ravallojr
10-19-2014, 04:03 AM
works for 4.2.2?
Mr_Running
10-20-2014, 12:05 PM
Yes it works for 4.2.2
phamxuanvinh211
03-06-2016, 06:59 AM
work for 4.2.3???
and website block reg new member, only register new member when have refferal link?
esskmk
08-02-2020, 11:48 PM
Is there for 3.8?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.