vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Profile Enhancements - PS - Ads In Profile (Right Side Block) (https://vborg.vbsupport.ru/showthread.php?t=174640)

netzrate 05-18-2008 09:45 AM

Nice Hack!
Thank you!!

dancue 05-18-2008 01:31 PM

Installed. Great so far.

would like to have certain usergroups not see the ads.

dancue 05-18-2008 01:43 PM

Would this work? I edited the plugin "Google Ads for Member Profile".

Code:

if ($vbulletin->options['ads'] == '1')
if (is_member_of($vbulletin->userinfo,1 ,2 ,3, 4, 5, 6, 7, 8, 10))
{
$google_code = $vbulletin->options['google_ad_code'];
}


PaulSonny 05-18-2008 04:02 PM

I will upgrade later today with usergroup permissions.

Apart from not displaying ads in profile, what other Usergroup Options would you like? I cant really think of any but you might be able to?

Would you prefer a bitfield so it appears in the Usergroup Edit Otions menu or under vbulletin options?

Thanks, Paul.

kether1 05-19-2008 12:04 AM

Paul, this looks great. I am waiting on the upgrade with the usergroup permissions. That will be fantastic. Thanks so much for sharing this with everyone.

Thanks
K.

dancue 05-19-2008 04:02 AM

So far everything else looks good. I don't think I would need any more options out of this.

I mean, I could go into asking for ajax refresh ads, or rotate ads...but I won't. ;)

PaulSonny 05-19-2008 10:33 AM

Version 2 Released.

I have released Version 2 which allows you to specify which usergroups should see the Ads in the Profiles.

Thanks, Paul.

John Stone 05-19-2008 11:10 AM

Extremely well done, thank you! :)

Shaliza 05-23-2008 02:54 AM

Genius idea. I didn't want to install it until you added the usergroup feature. Fantastic.

PaulSonny 05-23-2008 03:41 PM

Quote:

Originally Posted by John Stone (Post 1524627)
Extremely well done, thank you! :)

Quote:

Originally Posted by Shaliza (Post 1528556)
Genius idea. I didn't want to install it until you added the usergroup feature. Fantastic.

Thanks for comments.

Dont forgot to post any suggestions, no matter how small, if I can do it, ill implement it.

Thanks, Paul.


All times are GMT. The time now is 10:37 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.01129 seconds
  • Memory Usage 1,734KB
  • 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
  • (2)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
  • (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