Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 06-06-2008, 12:27 PM
Mookie Mookie is offline
 
Join Date: Jul 2005
Location: Sand Box of Sauda Arabia!
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default A couple of Questions

I have a few question that I have spent the last few days trying to figure out. (More than likely there is simple fixes but I am just missing them some where). I hope this is the right section.

1.) How did you get the posts in the Home Tab page of the vbulletin.org site to display. I remember seeing this somewhere but I search for a few hours yesterday and could not find it. Can someone link the How to if there is one.

2.) I have a few mods installed on my forums that 5 out of 300 people dont like is there a way to put a User ID code infront of the mod that only requires me to list the user who DO NOT want the mod to be displayed. Instead of making a new usergroup or listing all 300+ users that want the mod to be displayed?

3.) Lastly, this may have to go in the request section but i will see what yall say. In the postbit template is there a way to make a image wrap around the VBulletin Avatar? Something like the vbulletin.org avatar for Admins but instead of it being a all in one image I want to have a usergroup specified image that wraps around the user selected avatar image.

Any help in any of this areas would be very helpful.
Reply With Quote
  #2  
Old 06-06-2008, 12:32 PM
rootnik rootnik is offline
 
Join Date: Jun 2002
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1) Check out http://www.vbadvanced.com/

2) It depends on the mod. If it does support usergroup settings, you are probably better off using that.

3) There is no way to do this with a vbulletin install. There may be a hack out there already though.
Reply With Quote
  #3  
Old 06-06-2008, 05:15 PM
Mookie Mookie is offline
 
Join Date: Jul 2005
Location: Sand Box of Sauda Arabia!
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the reply rootnik,
1.) I was looking at vbadvanced but was not sure if it allowed the thread like that but I guess i could work it in like that.
2.) Have you ever seen the ability to not allow access to a mod? Like having the (<if condition="is_member_of($bbuserinfo, 6)"> ) code but instead of allowing usergroup it denied access via user id number.
3.) I will see if i can write a mod for this then. Maybe just have to create a image that imports the [user-avatar] in the middle.
Reply With Quote
  #4  
Old 06-06-2008, 05:28 PM
rootnik rootnik is offline
 
Join Date: Jun 2002
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mookie View Post
Thanks for the reply rootnik,
1.) I was looking at vbadvanced but was not sure if it allowed the thread like that but I guess i could work it in like that.
2.) Have you ever seen the ability to not allow access to a mod? Like having the (<if condition="is_member_of($bbuserinfo, 6)"> ) code but instead of allowing usergroup it denied access via user id number.
3.) I will see if i can write a mod for this then. Maybe just have to create a image that imports the [user-avatar] in the middle.
You could do something like <if condition="$bbuserinfo[userid]!=1 || $bbuserinfo[userid]!=2 || $bbuserinfo[userid]!=3"> if you are set on not using usergroups.

There may be a better way to do it...
Reply With Quote
  #5  
Old 06-07-2008, 07:08 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Use:
Code:
<if condition="!in_array($vbulletin->userinfo['userid'], array(X, Y, Z))">
Where XYZ are user id numbers of those not allowed.
Reply With Quote
  #6  
Old 06-08-2008, 04:38 PM
Mookie Mookie is offline
 
Join Date: Jul 2005
Location: Sand Box of Sauda Arabia!
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dismounted you are the man-- I have not tired it yet (very busy at work) but everything you write works so i no problem in this working either. Thanks for your help.
Reply With Quote
Reply

Thread Tools
Display Modes

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 05:49 PM.


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.03987 seconds
  • Memory Usage 2,202KB
  • Queries Executed 11 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete