vBulletin Modifications

Adding to Options page in User CP

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > General vBulletin Support

Reply
 
LinkBack Thread Tools
Old 05-27-2006, 04:56 PM   #1
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default Adding to Options page in User CP

How do you add a box which contains 2 radio buttons 1 which says 'Yes' and one which says 'No' on the Edit Options Page in the User CP.

Which when you select 'Yes' and save it changes the the value for the column 'cheese' in the table 'user' to '1' and when you select no it changes it to the value '0'.

Regards,
Nick.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 05-27-2006, 05:50 PM   #2
vBulletin Guru
Arnoud's Avatar
Join Date: Nov 2004
Real Name: Arnoud Kuipers
Location: Europe, Flanders
Arnoud is on a distinguished road

Default

Well, you could do that with a plugin or 2.. but why not simply add a custom profile field and use that?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-27-2006, 05:54 PM   #3
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

Quote:
Originally Posted by Arnoud
Well, you could do that with a plugin or 2.. but why not simply add a custom profile field and use that?
Thats what i was thinking about but i have also got this page:

http://forums.perfectforce.com/sig.php

it's sposed to say that and then have either 0 or 1 next to it bolded and uderlined but it doesn't work what to i have to type where to retireve the value of the cell sig for the person who is viewing user id? eg. mine is et to 0 so when i view it should say 0 but it says nothing apart from:
You will now longer be able to view Signatures in Posts

Can you help me with this in the vb.org vbhackers IRC channel or over MSN because i really need to sort this out tonight.

Regards,
Nick.

regards,
Nick




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-27-2006, 05:55 PM   #4
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

Just want to say out loud many thanks to Arnoud for helping me ALOT...

Last edited by Nick R; 05-28-2006 at 05:00 AM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-28-2006, 05:35 AM   #5
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

But the question still stand how do you add options to the otions page after reading this tutorial - [How To] Add Options per forum - which adds forum specific options i was wondeeing if someone could make one for adding to the options page in user cp




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-28-2006, 09:57 AM   #6
vBulletin Guru
Arnoud's Avatar
Join Date: Nov 2004
Real Name: Arnoud Kuipers
Location: Europe, Flanders
Arnoud is on a distinguished road

Default

Well, because of the custom profile fields there is no hook in the editprofile area. As I suggested before, you could try to use the $bbuserinfo[fieldX] method.. I'm not sure whether or not that works though.

I'd suggest trying that first .




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-28-2006, 11:36 AM   #7
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

Quote:
Originally Posted by Arnoud
Well, because of the custom profile fields there is no hook in the editprofile area. As I suggested before, you could try to use the $bbuserinfo[fieldX] method.. I'm not sure whether or not that works though.

I'd suggest trying that first .
so replace fieldx with sig?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-28-2006, 11:58 AM   #8
vBulletin Guru
Arnoud's Avatar
Join Date: Nov 2004
Real Name: Arnoud Kuipers
Location: Europe, Flanders
Arnoud is on a distinguished road

Default

Nope, add a custom user field and look at that number .




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-28-2006, 11:59 AM   #9
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

ahh thats what i thought the thing is i have to rewrite my mod

can you go on msn/yahoo?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-28-2006, 12:00 PM   #10
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

Hmm if i do that i can realease it with the ajax version...




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
User Notes xfile vBulletin Modification Requests 5 05-28-2006 07:02 PM
php tcl eggdrop - repost DeadGaze General vBulletin Support 14 03-25-2006 07:20 AM
Ban page adielsh vBulletin Modification Requests 8 02-27-2005 09:26 PM


All times are GMT -3. The time now is 01:02 PM.


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)