vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Hide Post Buttons (https://vborg.vbsupport.ru/showthread.php?t=38682)

tubedogg 05-16-2002 07:55 PM

I left off two instructions, for adding the showthread_threadbutton and showthread_replybutton templates. I've updated the instructions file.

cessna140 05-16-2002 09:40 PM

I finally got it to work with inphinity's help!

Thanks inphinity for sending me the updated code. I thought I was cracking up, I knew there had to be more steps than I had. For some reason I could not download any of the updated versions even though I flushed my cache.

Thank you tubedogg for making the hack, works as advertised!

cessna140 05-17-2002 03:23 AM

Here is what I get when logged in with permission to post/reply... the normal operation of a thread.

cessna140 05-17-2002 03:25 AM

This is what I get when visiting without permission to post/reply. The New Thread and Reply buttons are gone from the top but not from the bottom...

tubedogg 05-17-2002 04:34 AM

You apparently haven't completed this step. That's the only reason why it wouldn't work.
Quote:

Originally posted by tubedogg
__Find__
Code:

                <td><a href="newthread.php?s=$session[sessionhash]&action=newthread&forumid=$forum[forumid]"><img src="https://vborg.vbsupport.ru/images/newthread.gif" border="0" alt="Post New Thread"></a></td>
                <td><normalfont>&nbsp;&nbsp;</normalfont></td>
                <td><a href="newreply.php?s=$session[sessionhash]&action=newreply&threadid=$threadid"><img src="$replyclose" border="0" alt="Post A Reply"></a></td>

__Replace with__
Code:

                <td>$threadbutton</td>
                <td><normalfont>&nbsp;&nbsp;</normalfont></td>
                <td>$replybutton</td>



inphinity 05-17-2002 09:01 AM

instructions look fine now :)
cessna140 try clearing your browser's cache and redownloading the instructions.
--
i was just thinking instead of _removing_ the buttons for the majority of boards replacing them with big _register_ buttons would probably be more beneificial for getting users to register ;)

Princeton 05-17-2002 12:12 PM

inphinity,
Good suggestion :alien:

aidler 06-08-2002 05:17 PM

Is it confirmed that this hack works with 2.2.6?? I installed the hack and had the following problem: The reply button was gone even for users who have the permission to reply to other's posts.

in addition I use the quick reply box hack and would like to have the quick reply box vanish as well when a user has no permission to post.

aidler 06-14-2002 10:05 PM

Ok... no reply :angry:

/ UNINSTALL HACK /

Who need's a hack that doesn't work....very disappointing :disappointed:

Chris M 06-15-2002 02:46 PM

aidler - The Quick Reply Box DOES dissapear when you dont have permission to post...

@The Dissapearing buttons - Are you sure you didnt make an error somewhere?

Nice hack btw...

*installs*

Satan


All times are GMT. The time now is 08:45 AM.

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.01215 seconds
  • Memory Usage 1,731KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete