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
  #2  
Old 09-16-2008, 11:27 PM
apiasto's Avatar
apiasto apiasto is offline
 
Join Date: Oct 2006
Posts: 348
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice i ma try it,is there any other choice of pictures?
Reply With Quote
  #3  
Old 09-16-2008, 11:30 PM
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Posts: 1,158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

working on at tomorrow

imgaes are to big, and will offer dark, light images and 50x50 pixel size
Reply With Quote
  #4  
Old 09-16-2008, 11:44 PM
apiasto's Avatar
apiasto apiasto is offline
 
Join Date: Oct 2006
Posts: 348
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

kool i will wait thnx for reply
Reply With Quote
  #5  
Old 09-18-2008, 04:39 PM
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Posts: 1,158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

update made to images and alot smaller, will be working on changing location of info but not for a week or 2
Reply With Quote
  #6  
Old 09-19-2008, 02:03 AM
apiasto's Avatar
apiasto apiasto is offline
 
Join Date: Oct 2006
Posts: 348
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok thnx
Reply With Quote
  #7  
Old 09-26-2008, 10:46 AM
Nadeemjp Nadeemjp is offline
 
Join Date: Aug 2008
Location: Japan
Posts: 601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello simon i have installed as per your instructions.
however, inspite of the fields showing up in the user cp, i selected my loccation like japan and my star as cancer and sacved the changes. but there do not appear on the posts i made on the forum. i wanted to know where do these images appear? and if they are supposed to appear on every post i make, then why is it not appearing?
Reply With Quote
  #8  
Old 09-26-2008, 12:35 PM
Nadeemjp Nadeemjp is offline
 
Join Date: Aug 2008
Location: Japan
Posts: 601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As shown in the image, the country flag is appearing fine but the star sign is not.

also, can you please guide me as to how i can shift the POWER below sign and country? (I mean in the new line)

thank you
Reply With Quote
  #9  
Old 09-26-2008, 04:32 PM
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Posts: 1,158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Nadeemjp View Post
As shown in the image, the country flag is appearing fine but the star sign is not.

also, can you please guide me as to how i can shift the POWER below sign and country? (I mean in the new line)

thank you
where did you place the images (which folder in public_html)

dont forget you need to change the route in
<img src="$stylevar[imgdir_button]/starsigns/$post[fieldxx].gif" alt="Star Sign" border="" />

$post[fieldxx].gif ( fieldxx needs to chane to the field number for the custom field name created)

reply for more support

if you email me your postbit template i'll do it for you
hinds@iams.islington.sch.uk
Reply With Quote
  #10  
Old 09-26-2008, 06:42 PM
Nadeemjp Nadeemjp is offline
 
Join Date: Aug 2008
Location: Japan
Posts: 601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

dear simon
yes i changed the route as accordingly.
i shall mail you the postbit and postbit legacy codes. i did it exactly the same manner as the country flags. i know i am missing something out but couldnt put my fingers on.

i have put the folder in images/buttons/starsign
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 12:56 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.04487 seconds
  • Memory Usage 2,292KB
  • Queries Executed 23 (?)
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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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