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)
-   -   [Adv] banners Hack (https://vborg.vbsupport.ru/showthread.php?t=73847)

yinyang 01-11-2005 07:32 PM

here's a noob question... does this work with google ads?

Elfo King 01-11-2005 08:25 PM

Quote:

Originally Posted by erratic assasin
Ok I have sorted the problem of looped login in admincp just upload the php file to you /forum/ directory and then run the file www.yoursite.com/forum/fix_login.php
thats it all done. .
And im not taking any credit for the php file just letting you know it fix's problem :banana:

I have fixed...very , very very THX at all for HAck and support !!! :up:

apfparadise 01-12-2005 02:07 AM

ok, tell me why this is not working on my server.

I created a new secondary group, contributors, and put all contributors in that group as a sec. group. then in Forumhome, where your code is below the $navbar, I changed it to this code below, what is wrong with it why is it not showing (23 is the code for the Contributors user group):

Code:

<if condition="!is_member_of($bbuserinfo, 23)">
<center>$shir</center><br></if>


Creative Suite 01-12-2005 02:54 AM

lanc3lot

:)

apfparadise

Quote:

CS, will this work if I need to do that to 12 Groups? Dont ask why
yes it's ,

replace

Quote:

$bbuserinfo[usergroupid]==??
with :

Quote:

$bbuserinfo[usergroupid]==?? OR $bbuserinfo[usergroupid]==?? OR $bbuserinfo[usergroupid]==?? OR $bbuserinfo[usergroupid]==?? OR $bbuserinfo[usergroupid]==?? OR $bbuserinfo[usergroupid]==?? OR $bbuserinfo[usergroupid]==?? OR $bbuserinfo[usergroupid]==?? OR $bbuserinfo[usergroupid]==?? OR $bbuserinfo[usergroupid]==?? OR $bbuserinfo[usergroupid]==?? OR $bbuserinfo[usergroupid]==??
with changing the "??" marks to the groups id

& if you want use that! :

<if condition="$bbuserinfo[usergroupid]==??">
<center>$shir</center><br>
</if>

with changing the "??" marks to the group id :)

PuntoPower

nope :)

we_scooter

replace ' " ' mark with ' * ' : ex : *1* or *index* :)

J-TEK

this one :) > https://vborg.vbsupport.ru/attachmen...chmentid=22919

yinyang

what did mean with "google ads" ? :)

best wishes :up:

absoluthum 01-12-2005 09:52 PM

After uploading the global.php the function "Mark forums read" doesn´t work.

Has any other this problem?

apfparadise 01-13-2005 07:44 PM

well what I was trying to do is show it to the members who are NOT part of the usergroups, so if the member was, it would NOT show the banner, Like an ad banner to NOT be shown to the contributing members.

What is the correct code for that then?

apfparadise 01-13-2005 07:47 PM

also, how do I put a line of text under the banner that says: Remove this ad by becoming a Contributor

This way if the above question is answered, I can have a banner that goes away as soon as the member donates and is added to the Contributor group.

Creative Suite 01-14-2005 04:19 PM

apfparadise

<if condition="$bbuserinfo[userid]==0">
<center>$shir<br><b>Remove this ad by becoming a Contributor</b></center><br>
</if>

with this code , the banners will be not display to the users , "only for the visitors"

apfparadise 01-14-2005 04:23 PM

No, I want it to display to all the users, including members, except for ONE USERGROUP, number 23, for example.

I thougth this below was the way to do it (from another example on another site):

<if condition="!is_member_of($bbuserinfo, 23)">
<center>$shir</center><br></if>

Creative Suite 01-14-2005 05:02 PM

apfparadise

i hadn't test your code , but this one should be work as you want it :)

<if condition="$bbuserinfo[usergroupid]!=23">
<center>$shir<br><b>Remove this ad by becoming a Contributor</b></center><br>
</if>


All times are GMT. The time now is 02:40 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.02735 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
  • (4)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