Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Religion Tabs Details »»
Religion Tabs
Version: 1.00, by akulion akulion is offline
Developer Last Online: Jun 2009 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.4 Rating:
Released: 01-28-2007 Last Update: Never Installs: 22
 
No support by the author.

Demo can be seen here, just look at my post bit

1. Go to AdminCP => Profile Fields => Add new Profile field => Single Select Menu >

Title > Way of Life
Description > Tell people what religion you are.
Options:
[copy and paste list of religions in religion_list.txt to this option field from the zip file]
Set Default: Yes, Include a First Blank Option
Editable By User: Yes
Display Page: Edit Profile

Write down your field# . i.e field6

2. Open postbit(_legacy) template,

FIND:

<div>
$vbphrase[posts]: $post[posts]
</div>

BELOW, ADD:

<if condition="$post[fieldX] != ''"><div>
Religion: <img src="images/religion/$post[fieldX].png" title="$post[fieldX]" align="center">
</div></if>


Change X to the field id.


3. Upload folder /religion to images/ to your forum dir.

A preview of all the icons inside this mod:

A preview of all the icons inside this mod:



And thats all really.

Now your users can select religion tabs via their profile edit screen and it will be displayed on the postbit

PS: my apologies if this is posted in the wrong section, but I didnt know if this ws to be called a hack or template or what

Show Your Support

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

Comments
  #12  
Old 01-29-2007, 09:01 PM
akulion's Avatar
akulion akulion is offline
 
Join Date: Nov 2005
Location: Canada
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ur welcome everyone glad u guys enjoying it

Quote:
Originally Posted by Distance View Post
lol yes

But religion is a drug.. what causes all these suicide bombers and shit.. religion
same can be said about political idealogies
in fact more people killed in the name of nazi idealogy
more people killed in the name of monarchy
more people killed in the name of democracy


than any death count in the world!

not to mention WW I and WW II - totally political and nothing to do with religion
Reply With Quote
  #13  
Old 01-29-2007, 09:09 PM
Distance's Avatar
Distance Distance is offline
 
Join Date: Jul 2006
Location: Boston, Uk
Posts: 725
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Religion is a drug
Reply With Quote
  #14  
Old 01-30-2007, 03:10 PM
RvG2 RvG2 is offline
 
Join Date: Jan 2007
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Salam Aku, as usual during the SMF times... THANKS!

I followed you here... LOL.
Reply With Quote
  #15  
Old 01-30-2007, 03:19 PM
akulion's Avatar
akulion akulion is offline
 
Join Date: Nov 2005
Location: Canada
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

walikum salam

lol roarinrow is that u?
Reply With Quote
  #16  
Old 01-30-2007, 03:35 PM
RvG2 RvG2 is offline
 
Join Date: Jan 2007
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No Master Aku... I am one of your fans in TP. hehehe

I just found out that vB is far beyond SMF. Cool...
Reply With Quote
  #17  
Old 01-30-2007, 03:48 PM
akulion's Avatar
akulion akulion is offline
 
Join Date: Nov 2005
Location: Canada
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i always get confused between u and roarin lol

good to see familiar people around

if u need any help just pm - i just ported over myself last week, but im picking up pretty fast
Reply With Quote
  #18  
Old 02-27-2007, 12:59 AM
apiasto's Avatar
apiasto apiasto is offline
 
Join Date: Oct 2006
Posts: 348
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice mod. thnx
Reply With Quote
  #19  
Old 02-27-2007, 02:08 AM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very interesting mod. Im trying this now, thanks

edit:

Theres an error in the religion list, Atheism and Christianity appear two times.
Reply With Quote
  #20  
Old 02-27-2007, 03:54 PM
akulion's Avatar
akulion akulion is offline
 
Join Date: Nov 2005
Location: Canada
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for pointing that out
ill also update it in the package
if u want to remove the duplicate entries, its pretty simple, just edit the profile feild u created and take out the duplicates from the list
Reply With Quote
  #21  
Old 03-14-2007, 11:19 PM
pollon pollon is offline
 
Join Date: Jan 2007
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thankyou very much! i will use this mod for other profile fields!
Reply With Quote
Reply

Thread Tools

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 11:45 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.06325 seconds
  • Memory Usage 2,294KB
  • 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_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
  • (2)pagenav_pagelink
  • (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