![]() |
Custom Cursor on / off
Hi !!
Is there a way to set a (or more) custom-cursor(s) in my forums and my members can switch the cursor(s) on or off in there options?? Currently i using in headinclude something like: CURSOR: url('cursor.cur'); Can anyone help? |
In my opinon. That would bulk up the forums.. But that is not what you think maybe.
|
I can't do this myself but I know that it will be quite hard to set up. At least I think... You'll need to use Javascript... *Shudders*
|
Why would it be hard?
Im sure you could just add a field to the user table, something like: [sql]ALTER TABLE user ADD customcursor smallint(6) DEFAULT '0' NOT NULL[/sql] Then just edit member.php and set the queries to update the user etc, then edit the modifyoptions template, and add a radio button section with "Use custom cursor?", and then "yes" and "no" options... Then just edit global.php, and do a check on the user to see if they use the custom cursor, something like: Code:
if ($bbuserinfo[customcursor]==1) { Im sure it can be done that way;) Satan |
Cool thank you Chris!!
Can you code something for me/us? ;) Would be very cool!! |
I could try;)
:) Satan |
Cool!! Thanks chris!! ;)
|
Heh...I had coded it earlier, but our stupid internet cutoff:bored:
Here you go! Run this sql query: [sql]ALTER TABLE user ADD customcursor smallint(6) DEFAULT '0' NOT NULL[/sql] Open forum/member.php Find: Code:
if ($bbuserinfo[emailnotification]) { Code:
if ($bbuserinfo[customcursor]) { Code:
$emailnotification=iif($emailnotification=="yes",1,0); Code:
$customcursor=iif($customcursor=="yes",1,0); Code:
$DB_site->query("UPDATE user Code:
$DB_site->query("UPDATE user Find: Code:
<tr> Code:
<tr> Find: Code:
// ###################### Referrer Stuff ######################### Code:
if ($bbuserinfo[customcursor]==1) { :) Satan |
This saves my life!!! :D
Thank you so much Chris!!! ;) Btw: ...this could be ready to put in Full Releases! |
1 Attachment(s)
Here, i put it in a Txt-File... ;)
|
Nice. but i wont use ;)
|
Works like a charm Hellsatan!! :)
|
It does? Cool...
You can release it if you'd like:) Satan |
All times are GMT. The time now is 12:14 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|