Back to vBulletin 3.7 Template Modifications

Star Sign Mod v1a
Mod Version: 1.A, by TheSupportForum

This modification is in the archives.
vB Version: 3.7.3 Rating: (0 vote - 0 average) Installs: 12
Released: 17 Sep 2008 Last Update: 18 Sep 2008 Downloads: 82
Not Supported Additional Files  

=======================
Star Signs V1
vBulletin 3.7.3--
Author (c)
Simon Hind
Tutorials4you
Author Contact
http://www.tutorials4you.co.uk/
17/09/2008 - Date of Update
=======================

=======================
LICENCE
Star Signs V1
vBulletin 3.7.3
--
LICENCE - do not modify the documentation or the links,
please also leave the comment tags which show tutorials4you.co.uk in the comments
=======================

=======================
Change Log
--
=======================

=======================
About
--
The modification will show a drop down in the usercp
Thus, from the drop down the user selects his/her Star Sign
The postbit include will display it each of the users threads
=======================

=======================
Installation
--
**********************************
STEP 1 - Upload starsigns to your server
**********************************

Upload the folder "starsigns" to your images/buttons - this is deauflt template not other templates
or
Upload the folder "starsigns" to your images/templatefoldername/buttons - do not create folder name templatefoldername

You should be able to access it using the URL (web address)

http://www.yoursite.com/your-forum/images/buttons/starsigns
**********************************
STEP 2 - Admincp setup
**********************************

AdminCP > User Profile Fields > Add New User Profile Field > Single-Selection Menu
--
Fill in the following forms with these details..
--
Title: Star Signs
Description:Add Star Signs to your profile
Profile Field Category: (Uncategorized)
Options: Open the list.txt and copy and paste the whole file in here
Set Default: None
Display Order: 5 (Or whatever else is there)
Field Required: Yes, at registeration and profile updating
Field Editable by User: Yes
Private Field: No
Field Searchable: No
Show on Members List: Yes
Allow user to input their own value for this option: No
Max length of allowed user input: SKIP
Field Length: SKIP
Regular Expression: SKIP
Display Page: Edit Your Details
--
SAVE

change fieldxx to the fieldnumber for example 5

to find the field number follow these instructions
AdminCP > > User Profile Fields > User Profile Field Manager
--

User Profile Fields in Area: Edit Your Details
Title / Profile Field Type
(Uncategorized)
Star Sign
Name

under name should show field name

**********************************
STEP 3 - Template Configuration and Edits
**********************************
-=-=-=-
THIS IS FOR POSTBIT NOT LEGACY(below)
-=-=-=-
AdminCP > > Styles & Templates > Style Manager > Edit Templates > Postbit Templates > postbit
--
FIND
#########################
<div>$vbphrase[posts]: $post[posts]</div>
#########################
ADD BELOW
#########################
<!-- Simons StarSign Start -->
<if condition="$post['fieldxx']">
Star Sign: <img src="$stylevar[imgdir_button]/starsigns/$post[fieldxx].gif" alt="Star Sign" border="" />
</if>
<!--// Simons StarSign End -->
#########################
--
SAVE

-=-=-=-
THIS IS FOR POSTBIT LEGACY(below)
-=-=-=-
AdminCP > > Styles & Templates > Style Manager > Edit Templates > Postbit Templates > postbit_legacy
--
FIND
#########################
<div>$vbphrase[posts]: $post[posts]</div>
#########################
ADD BELOW
#########################
<!-- Simons StarSign Start -->
<if condition="$post['fieldxx']">
Star Sign: <img src="$stylevar[imgdir_button]/starsigns/$post[fieldxx].gif" alt="Star Sign" border="" />
</if>
<!--// Simons StarSign End -->
#########################
--
SAVE

Download

This modification is archived, downloads are still allowed.

File Type: %1$s StarSigns v1a.zip (36.8 KB, 70 downloads)

Screenshots

Click image for larger version
Name:	screenshot.GIF
Views:	664
Size:	4.3 KB
ID:	87014  


vblts.ru supports vBulletin®, 2022-2024