Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[Adv] banners Hack Details »»
[Adv] banners Hack
Version: 1.1, by Creative Suite Creative Suite is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.0.5 Rating:
Released: 01-05-2005 Last Update: 01-08-2005 Installs: 82
DB Changes
 
No support by the author.

what it does ?

This hack allows the administrators to add banners in forumhome or forums or threads ! [ can choose any , or all ]

INSTALLATION

This Hack is tested and working on vb 3.0.4 but should work on ALL 3.x.x versions as well.
Please read the installation-English.txt file in the package CAREFULLY for installation instructions

SUPPORT

well I honestly cannot promise you to solve all-hack problems but I will try to do my best answering your questions and solving the problems I could solve , I also welcome all suggestion .

enjoy : )
Creative Suite
www.Montadiat.com

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #82  
Old 01-11-2005, 07:32 PM
yinyang's Avatar
yinyang yinyang is offline
 
Join Date: May 2004
Location: Los Angeles
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

here's a noob question... does this work with google ads?
Reply With Quote
  #83  
Old 01-11-2005, 08:25 PM
Elfo King Elfo King is offline
 
Join Date: Apr 2003
Location: Pisa-Italy
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Reply With Quote
  #84  
Old 01-12-2005, 02:07 AM
apfparadise apfparadise is offline
 
Join Date: Jan 2005
Location: Northridge CA
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #85  
Old 01-12-2005, 02:54 AM
Creative Suite's Avatar
Creative Suite Creative Suite is offline
 
Join Date: May 2004
Location: Kuwait :)
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Reply With Quote
  #86  
Old 01-12-2005, 09:52 PM
absoluthum absoluthum is offline
 
Join Date: Feb 2003
Location: Austria
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Has any other this problem?
Reply With Quote
  #87  
Old 01-13-2005, 07:44 PM
apfparadise apfparadise is offline
 
Join Date: Jan 2005
Location: Northridge CA
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #88  
Old 01-13-2005, 07:47 PM
apfparadise apfparadise is offline
 
Join Date: Jan 2005
Location: Northridge CA
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #89  
Old 01-14-2005, 04:19 PM
Creative Suite's Avatar
Creative Suite Creative Suite is offline
 
Join Date: May 2004
Location: Kuwait :)
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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"
Reply With Quote
  #90  
Old 01-14-2005, 04:23 PM
apfparadise apfparadise is offline
 
Join Date: Jan 2005
Location: Northridge CA
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #91  
Old 01-14-2005, 05:02 PM
Creative Suite's Avatar
Creative Suite Creative Suite is offline
 
Join Date: May 2004
Location: Kuwait :)
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:43 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08620 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete