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

Reply
 
Thread Tools
Details »»

Version: , by Nathan (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 05-04-2001 Last Update: Never Installs: 0
 
No support by the author.

My users are VERY fond of big, elaborate signatures, and that tends to turn-off first-time visitors who are on dial-up. I want everyone's "showsignatures" option to be set to "no" by default, instead of yes. Then they can go turn on sigs in their cp if they want to see them.

Thanks!

Show Your Support

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

Comments
  #12  
Old 05-05-2001, 06:46 PM
conan
Guest
 
Posts: n/a
Default

How would I go about making sigs invisible to guests?
Reply With Quote
  #13  
Old 05-05-2001, 09:25 PM
Freddie Bingham's Avatar
Freddie Bingham Freddie Bingham is offline
 
Join Date: Oct 2001
Posts: 506
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You would edit admin/sessions.php and change this code:

$bbuserinfo['showsignatures']=1;

to:

$bbuserinfo['showsignatures']=0;

You will also see the other bandwidth options there if you wish to change them.
Reply With Quote
  #14  
Old 06-07-2001, 09:32 PM
Evoir Evoir is offline
 
Join Date: Nov 2001
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tubedogg,

I clicked on your link in your profile on how to run a query in phpmyadmin, but it gives me a bad link. can you point out that thread for me again? I'd like to turn vb code off for everyone.
Reply With Quote
  #15  
Old 06-07-2001, 09:33 PM
Evoir Evoir is offline
 
Join Date: Nov 2001
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also, is there a way to turn off VB code, but leave to clickable smilies in tact?

Basically, I don't want folks making big fonts and all. but smilies are cool.

So, is it easier to simply turn something off rather than run a query?
Reply With Quote
  #16  
Old 06-07-2001, 10:23 PM
tubedogg's Avatar
tubedogg tubedogg is offline
 
Join Date: Oct 2001
Location: Medina, OH
Posts: 785
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here ya go evoir:
http://161.58.84.213/forum/showthrea...threadid=18558

Not sure about the other question. Feasibly you could remove $vbcode_buttons and that should do it - except that the smilies use javascript that's in the .js files included by the vbcode_buttons template. Maybe edit the .js files down to just the smilie parts and then include them in the vbcode_smilies template instead.
Reply With Quote
  #17  
Old 06-07-2001, 11:32 PM
Evoir Evoir is offline
 
Join Date: Nov 2001
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so, if I want vb code to be OFF for all my members (so they have to actually turn it on if they want it)

I would type in phpmyadmin
UPDATE user SET options=options+8 WHERE NOT(options&8)

Including the parenthesis?

I did that and nothing happened. still nhave vb code in my prefs and no xx yy response from phpmyadmin. Just wondering if I did it right.

and thanks for your response, tubedogg.
Reply With Quote
  #18  
Old 06-07-2001, 11:57 PM
tubedogg's Avatar
tubedogg tubedogg is offline
 
Join Date: Oct 2001
Location: Medina, OH
Posts: 785
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

np

For whatever reason half the time phpMyAdmin returns a white screen instead of results. So assuming you got the white screen I'd say it went okay. Keep in mind this won't affect your templates - it will just set your prefs to no. You have to remove it from the templates manually.
Reply With Quote
  #19  
Old 06-08-2001, 12:00 AM
Evoir Evoir is offline
 
Join Date: Nov 2001
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nope. I didn't get a white screen. the page simply reloaded.

and then I tried posting a message and the VB codes were there (which tells me it didn't change it in my or anyone else's profile.)

Are you sure this is the correct code and proceedure?
Reply With Quote
  #20  
Old 06-08-2001, 12:03 AM
tubedogg's Avatar
tubedogg tubedogg is offline
 
Join Date: Oct 2001
Location: Medina, OH
Posts: 785
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try this one instead - I don't know but it looks like the latter half of freddie's post is backwards.

UPDATE user SET options=options-8 WHERE options&8
Reply With Quote
  #21  
Old 06-08-2001, 12:07 AM
Mike Sullivan Mike Sullivan is offline
 
Join Date: Feb 2002
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actually, I think some of freddie's queries got reversed. Although I'm not 100% sure though.

Set Everyone's showsignatures to off:
UPDATE user SET options=options-1 WHERE options&1

Set Everyone's showsignatures to on
UPDATE user SET options=options+1 WHERE NOT(options&1)

Set Everyone's showavatars to off:
UPDATE user SET options=options-2 WHERE options&2

Set Everyone's showavatars to on:
UPDATE user SET options=options+2 WHERE NOT(options&2)

Set Everyone's showimages to off:
UPDATE user SET options=options-4 WHERE options&4

Set Everyone's showimages to on:
UPDATE user SET options=options+4 WHERE NOT(options&4)

Set Everyone's showvbcode to off:
UPDATE user SET options=options-8 WHERE options&8

Set Everyone's showvbcode to on:
UPDATE user SET options=options+8 WHERE NOT(options&8)
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 12:16 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.04718 seconds
  • Memory Usage 2,299KB
  • Queries Executed 27 (?)
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)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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (9)postbit_onlinestatus
  • (11)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
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete