vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Religion Tabs (https://vborg.vbsupport.ru/showthread.php?t=137864)

akulion 01-28-2007 10:00 PM

Religion Tabs
 
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:

http://path-to-peace.net/misc/newreligiontabs/islam.png http://path-to-peace.net/misc/newrel...ristianity.png http://path-to-peace.net/misc/newrel...bs/judaism.png http://path-to-peace.net/misc/newrel...bs/sikhism.png http://path-to-peace.net/misc/newreligiontabs/bahai.png http://path-to-peace.net/misc/newrel...abs/janism.png http://path-to-peace.net/misc/newrel...abs/shinto.png http://path-to-peace.net/misc/newrel...bs/atheism.png http://path-to-peace.net/misc/newrel...bs/zoroast.png http://path-to-peace.net/misc/newreligiontabs/pagan.png http://path-to-peace.net/misc/newrel...s/satanism.png http://path-to-peace.net/misc/newrel...s/humanism.png http://path-to-peace.net/misc/newrel...ndisclosed.png http://path-to-peace.net/misc/newrel.../undecided.png http://path-to-peace.net/misc/newrel...bs/secular.png http://path-to-peace.net/misc/newrel...cientology.png http://path-to-peace.net/misc/newrel...nfucianism.png http://path-to-peace.net/misc/newrel...abs/taoism.png http://path-to-peace.net/misc/newreligiontabs/wicca.png http://path-to-peace.net/misc/newrel.../unitarian.png http://path-to-peace.net/misc/newrel.../spiritism.png http://path-to-peace.net/misc/newrel...s/agnostic.png http://path-to-peace.net/misc/newreligiontabs/juche.png http://path-to-peace.net/misc/newrel...s/hinduism.png

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

Cyricx 01-29-2007 05:15 PM

I'm a little confused by the ankh for paganism, but regardless of that.

Great idea and nice little mod! :)

akulion 01-29-2007 05:44 PM

Thanks
Thats for one of the Egyptian gods - belonging to the pagan beliefs in idols etc

Im also posting up the PSD for the file here so anyone who has photoshop can modify it to their liking

the file also contains the font used

Distance 01-29-2007 07:29 PM

Religion is a drug

Kaleem 01-29-2007 07:30 PM

Salam and thanks Akulion :)

akulion 01-29-2007 07:51 PM

walikum salam :)

ur welcome

religion is a drug?
Well religion is defined as a way of life....
so in that case life becomes a drug :D
No matter what you believe in - becomes your religion :D
but thats way too philosophical for this thread lol

Distance 01-29-2007 08:21 PM

lol yes

But religion is a drug.. what causes all these suicide bombers and shit.. religion

Cyricx 01-29-2007 08:25 PM

Right on Akulion!

Thanks for the PSD! :)


Distance - Don't blame all for the actions of one ;) Regardless... perhaps it would be best to stick to topics about modifications to vbulletin ;)

Stoebi 01-29-2007 08:51 PM

Thank you very much. *installed*

[ot]
Like to find the instruction.txt in archive.
[/ot]

TheBlackPoet 01-29-2007 08:56 PM

i was goin to ask for the psd.... thanks for posting this

installed


All times are GMT. The time now is 04:51 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.01166 seconds
  • Memory Usage 1,737KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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