vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   See Sigs Or Not - Toggles Viewing Sig in Postbit (https://vborg.vbsupport.ru/showthread.php?t=116902)

rogersnm 05-27-2006 10:00 PM

See Sigs Or Not - Toggles Viewing Sig in Postbit
 
See Sigs Or Not

vBulletin 3.5.4
www.vBHackers.com

What this does
Adds an option to the quick links drop down menu to toggle Viewing sigs in the postbit on or off.

To do list...


* Time to install: 2 minutes
* New Templates: 1 (auto)
* Template Edits: 2 (manual)
* New Files: 1 (upload)
* New Phrases: 0
* New Phrases: 0
* New Plugins: 0


Help & Support

Before asking for support Please make sure you have done all necessary changes! If you still need support please post a reply here. Help & Suport will be given to those who click install only.

Planed Updates

*An ajax version will be coming out sometime soon. but i am looking for a co author to help me code it. If you know AJAX please read this post:
http://www.vbhackers.com/forum/showthread.php?t=3491

Note
This is my first hack. Many thanks to Arnoud for helping me code it. I run it on my board and it has been tested but use at your own risk.

Hope you like, feedback welcomed.

Remeber to Press:
https://vborg.vbsupport.ru/

rogersnm 05-28-2006 07:02 AM

First Post Reserved

Zachery 05-28-2006 07:12 AM

I don't see a zip file or otherwise attachted/.

rogersnm 05-28-2006 07:58 AM

hmm i do. is it your browser... :S

Do you see the screenshots?

this is the link i get:
https://vborg.vbsupport.ru/attachmen...chmentid=48401

Zachery 05-28-2006 08:05 AM

It wasn't showing up.

rogersnm 05-28-2006 08:06 AM

does it show up now?

Zachery 05-28-2006 08:10 AM

Yes.

Zachery 05-28-2006 08:11 AM

Two things as suggestions, is there any reason you just don't update the users options instead of making a whole new option for this? and do you have any plans to add any sort of ajaxed system?

rogersnm 05-28-2006 08:28 AM

yes i do have plans for an ajax system but the problem is i don't know any ajax so i need somebody to work with becuase the guy i know who knows ajax is in france for the next 2 months :(

Cybertims 05-28-2006 08:40 AM

Doesnt work for me mate.......I still see the sigs after telling it to turn them off.

Checked the USERCP setting to see if that changed but it didnt, you know the bit where you can turn off sigs in there?

Cheers.

rogersnm 05-28-2006 08:41 AM

1.) Did you press the Don't View Sigs Option in the navbar/quicklinks?
2.) What version of vB do you have?
3.) Are you sure you didn't miss out this part in the readme:
Quote:

Originally Posted by The Readme File
B) In postbit or postbi_legacy FIND:
<if condition="$post['signature']">

Add BELOW:
<if condition="$bbuserinfo[sig] == 0">

Then FIND:
<!-- / sig -->

Add BELOW:
</if>

4.) Check in the table User to see if you have the column sig at the end of it.

press refresh after 2 minutes of replying and i will have posted back becuse i am currently online.

Zachery 05-28-2006 08:57 AM

And what about my first suggestion?

Cybertims 05-28-2006 08:59 AM

Quote:

Originally Posted by rogersnm
1.) Did you press the Don't View Sigs Option in the navbar/quicklinks?
2.) What version of vB do you have?
3.) Are you sure you didn't miss out this part in the readme:

4.) Check in the table User to see if you have the column sig at the end of it.

press refresh after 2 minutes of replying and i will have posted back becuse i am currently online.


Yes mate, did those changes as above. Also just checked the user table and it does indeed have a sig column. I did press the link and it says "You no longer can view sigs", but then I go into any thread and sigs are all still visible to me.

Thanks.

rogersnm 05-28-2006 09:08 AM

can you give me the link to your forum please?

rogersnm 05-28-2006 01:07 PM

Fix: This may fix your problem or it may not...

see atachment....

rogersnm 05-28-2006 01:15 PM

if it still doesn't work then look in 'user' at 'sig' at your userid and note the value then open up sig.php and then refresh the sql page and see if the value changed...

rogersnm 05-28-2006 01:21 PM

If it still doesn't Work then you either installed it wrong or it's one of your mods interfearing with it or something went wrong somewhere

the admin of vbh took a look and said it was fine.

just wait for more people to test it.

oninuva 05-30-2006 05:52 PM

i like this

ty

INSTALED

P Grizz 06-01-2006 01:53 PM

thanks a lot...I appreciate it....i'm gonna try it out.

P Grizz 06-01-2006 02:04 PM

I'm gettin this error:

The following error occurred when attempting to evaluate this template:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/pzv/public_html/forums/includes/adminfunctions_template.php(3537) : eval()'d code on line 153

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.

any ideas?

rogersnm 06-01-2006 02:21 PM

What version of vB are you using?

P Grizz 06-01-2006 02:25 PM

3.53

rogersnm 06-01-2006 02:26 PM

ok, read the pm.

P Grizz 06-06-2006 03:46 PM

it's workin now, thanks again man

1 suggestion tho...it brings you to a page telling you you can't view sigs anymore...maybe for the next update, it can just automatically bring you back to the thread or page you were viewing?

rogersnm 06-06-2006 03:49 PM

yeah, well next update will be ajax so it won't have to load another page just refresh the one you have open.

P Grizz 06-06-2006 03:58 PM

ok, thanks

Skedoozy 06-22-2006 03:36 PM

Could this be modified to turn off the [ img ] tag? I have users who are too lazy to go into thier settings and turn them off while they are at work. Having a button in the nav that will turn them on and off would be a godsend.

Tralala 06-22-2006 08:07 PM

Quote:

Originally Posted by Skedoozy
Could this be modified to turn off the [ img ] tag? I have users who are too lazy to go into thier settings and turn them off while they are at work. Having a button in the nav that will turn them on and off would be a godsend.

That would be an awesome hack; would help those who log in via a mobile device, too, and want just text, no big IMG's!

rogersnm 06-23-2006 03:58 AM

as it stands i am currently working on it.


All times are GMT. The time now is 05:26 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
  • Page Generation 0.01295 seconds
  • Memory Usage 1,766KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (29)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete