Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications

Reply
 
Thread Tools
Star Sign Mod v1a Details »»
Star Sign Mod v1a
Version: 1.A, by TheSupportForum TheSupportForum is offline
Developer Last Online: May 2017 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.7.3 Rating:
Released: 09-16-2008 Last Update: 09-17-2008 Installs: 12
Additional Files  
No support by the author.

=======================
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/i...tons/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

Show Your Support

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

Comments
  #12  
Old 10-18-2008, 06:36 PM
PAKIDIL PAKIDIL is offline
 
Join Date: Jan 2007
Posts: 264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed (y).
and nadeem its the code problem you didnt add buttons i think try this coding

<!-- Simons StarSign Start -->
<if condition="$post[fieldXX]">
Star Sign: <img src="images/buttons/starsigns/$post[fieldXX].gif">
</if>
<!--// Simons StarSign End -->

WHERE XX IS YOUR FIELD ID
Reply With Quote
  #13  
Old 10-18-2008, 10:09 PM
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Posts: 1,158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PAKIDIL View Post
installed (y).
and nadeem its the code problem you didnt add buttons i think try this coding

<!-- Simons StarSign Start -->
<if condition="$post[fieldXX]">
Star Sign: <img src="images/buttons/starsigns/$post[fieldXX].gif">
</if>
<!--// Simons StarSign End -->

WHERE XX IS YOUR FIELD ID
Nadeem has already been sorted out, i doen this for him myself as i created this template edit

i done this ages ago
Reply With Quote
  #14  
Old 10-19-2008, 01:21 PM
PAKIDIL PAKIDIL is offline
 
Join Date: Jan 2007
Posts: 264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by simonhind View Post
Nadeem has already been sorted out, i doen this for him myself as i created this template edit

i done this ages ago
okay but when i visited this thread his post was the last one and no replied from ya .its good that you have sort it out but i have also posted for all others who are viewing this thread it might help them
thanks
Reply With Quote
  #15  
Old 10-19-2008, 01:59 PM
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Posts: 1,158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PAKIDIL View Post
okay but when i visited this thread his post was the last one and no replied from ya .its good that you have sort it out but i have also posted for all others who are viewing this thread it might help them
thanks
okay, i some more ideas on template edits like this one, soem more comming soon
Reply With Quote
  #16  
Old 10-23-2008, 03:17 PM
PAKIDIL PAKIDIL is offline
 
Join Date: Jan 2007
Posts: 264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

images are too large is it possible if someone can make starsign small with written form uper or lower like charm or some small word description defining the star
Reply With Quote
  #17  
Old 10-28-2008, 10:33 AM
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Posts: 1,158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i will give it a go when 3.8.0 is live
Reply With Quote
  #18  
Old 03-14-2009, 05:31 PM
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Posts: 1,158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i am looking for someone to help make this simple script edit a product, become a member on my site and PM me, also if products work, you will be given premium access free
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 08:06 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.07046 seconds
  • Memory Usage 2,274KB
  • Queries Executed 24 (?)
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
  • (3)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
  • (1)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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_postinfo_query
  • fetch_postinfo
  • 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