Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
AnyVersion: User select a Custom Cursor Details »»
AnyVersion: User select a Custom Cursor
Version: 1.00, by Kaasie Kaasie is offline
Developer Last Online: Apr 2020 Show Printable Version Email this Page

Category: End-User Options - Version: 3.7.x Rating:
Released: 02-14-2010 Last Update: Never Installs: 5
Template Edits
Re-useable Code Code Changes Additional Files  
No support by the author.

Hello all...

I am posting this in this forum as i use 3.7 but this goes for all versions as this one is simple to apply everywhere..

What does this do

It gives the user the option to use a custom cursor and if so select one in a pulldown selection menu


Estimated installation time: 10 minutes

OK here we go, this one is so simple you will laugh your socks off!

Step 1 uploading files
create a directory cursors in the forums image directory
unrar the attached cursors
upload them in the directory forums/images/cursors

Note: some of these cursors in the package were made by: azn_romeo_4u

Step 2 Creating new Profile Fields
Go into the adminpanel and add a new User Profile Field


Profilefield1
Type: Single-Selection Radio Buttons
Title: Use Custom Cursors
Description: Set this to Yes if you want to use a custom cursor
Options: Yes No
Set default: Yes if you want the hack to be turned on by default
Field required: If you like

Private Field: No
Searchable on memberslist: No
Show on memberslist: No
Allow user to input their own value for this option: No

Which page displays this option?: my choice was into other options but you can put it where it fits you best


Hit Save and add a new User Profile Field

Step 3 Creating new Profile Fields
Profilefield2
Type: Single-Selection menu [pulldown]
Title: Set your Cursor
Description: Which cursor would you like? select one of your likings NB: this option only works if use custom cursor is set to YES

Options:

arrow_blue
arrow_green
arrow_grey
arrow_magenta
arrow_orange
arrow_pink
arrow_red
arrow_yellow
dart
double
green
guitar
hearts
pencil
rainbow
red
rocket
sharpblue
sword
yellow


Set default: Yes if you want the hack to be turned on by default
Field required: If you like

Private Field: No
Searchable on memberslist: No
Show on memberslist: No
Allow user to input their own value for this option: No

Which page displays this option?: my choice was into other options but you can put it where it fits you best.


Hit Save and remember these 2 profilefields


Step 4 Edit Templates
go to the Style manager and select Edit Templates
Open the template: header

Customize the Fields and the DomainName to your needs and put it where you like it best in your header template

Change the code below where [fieldXX] is your profilefield number ie [field31]

respectively to your board field numbers alter the XX below:
Code:
 
<if condition=" $bbuserinfo[fieldXX]== Yes">
<style>
<!--
BODY {
CURSOR: url(http://www.yourdomain.com/forums/images/cursors/$bbuserinfo[fieldXX].cur);
}
-->
</style>
 
</if>


Congrats: You are done!
Simple and Effective
Step 5
Be nice add a comment /suggestion
Step 6
Be Thankful That vBulletin exists!

Show Your Support

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

Comments
  #2  
Old 02-15-2010, 09:00 AM
Kaasie's Avatar
Kaasie Kaasie is offline
 
Join Date: Nov 2001
Location: rotterdam
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What I REALLY would like is after selecting an image that it would give a preview thumbnail..
If anyone could point me into the right direction i would be happy to add it
Reply With Quote
Reply


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 01:18 AM.


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.03421 seconds
  • Memory Usage 2,206KB
  • Queries Executed 17 (?)
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_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (1)postbit
  • (2)postbit_onlinestatus
  • (2)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete