![]() |
You would have to run the query for it globally, which I wouldn't recommend as it will add a query to every page.
|
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? |
Quote:
Thx boofo |
Quote:
|
Nice plugin and will be helpful for me in next contest. Installed and marked.
|
may i know where exactly the additional.css file locate?
i can't find the file. |
Quote:
|
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) } |
Quote:
It is compatible. You will need to edit the xml file and remove 4.0.0 from this line: Quote:
Make sure to click install after you install it. |
Quote:
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 .. ? Code:
if ($mark_as_installed != 'clicked') |
there is no option to save additional.css template
Code:
#referrallink { |
Quote:
You don't need to do anything with the $mark_as_installed code. |
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. |
There is no 4.0.6 PL version. ;)
Also, are you using a custom skin? |
Quote:
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" 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. |
Quote:
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. |
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. |
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. |
Quote:
|
Quote:
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. |
Quote:
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 |
Are you sure you are going to the right page?
/forums/usercp.php |
Quote:
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 |
There is a support developer link (for donating) under my avatar in the first post. ;)
No problem. Glad all is ok now. ;) |
Quote:
|
Quote:
|
Works :)
Thanks :)) |
is there anyway to get the number of referrals to show in the postbits ?
|
Quote:
|
Quote:
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 Code:
usersid = $this->post['userid']; |
referrerid='$usersid'
should be referrerid='$userid' |
Quote:
$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. :( |
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. |
Try changing your hook location for your query to the postbit_display_complete.
|
Quote:
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 : Code:
$usersid = $this->post['userid']; Like Boofo said, this adds a query for every post. |
Nice mod - thanks!
|
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 |
Quote:
|
All times are GMT. The time now is 01:04 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|