vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - User CP Referral ID and Referrer/Referrals in Profile for vB 4 (https://vborg.vbsupport.ru/showthread.php?t=243455)

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

Quote:

Originally Posted by Boofo (Post 2064145)
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

Quote:

Originally Posted by vidan (Post 2072497)
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

Quote:

Originally Posted by sempoi (Post 2077542)
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

Quote:

Originally Posted by silent angel (Post 2085868)
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:

Quote:

<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

Quote:

Originally Posted by Boofo (Post 2085875)
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 .. ?

Code:

if ($mark_as_installed != 'clicked')
{
        $you_get = 'squat';
}
else
{
        $you_get = 'support';
}



All times are GMT. The time now is 03:45 PM.

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01150 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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