vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   New Posting Features - Post Always (https://vborg.vbsupport.ru/showthread.php?t=277324)

Wayne Luke 01-19-2012 11:00 PM

Post Always
 
1 Attachment(s)
A change in vBulletin 4.1.10, removes the new post and new thread buttons from display if the user does not have that permission. However this can reduce forum activity because people won't see the button if they get logged out for any reason.

This addon adds a new option to have the New Post and New Thread buttons shown on showthread.php and forumdisplay.php respectively.

Includes a setting and two plugins to restore the previous functionality.

To install, import the product file.

To enable, go to Settings -> Options -> Message Posting and Editing Options. Edit the Show Post Buttons option to Yes.

No template edits required. No additional files. No permission changes required.

Boofo 01-20-2012 10:31 PM

Good to see you releasing stuff, sir. ;)

thecore762 01-20-2012 10:32 PM

Awesome modification!

OldSchoolDSL 01-20-2012 11:07 PM

Installed, but not doing anything.

Can't even find the options to turn it on or off.

4.1.10

Wayne Luke 01-20-2012 11:15 PM

It should be at the bottom of Settings -> Options -> Message Posting and Editing Options. The default for the option is No or Off.

TombstoneWarrior 01-20-2012 11:29 PM

nice mod im going to tag it since im 4.1.9 and not upgrading till every other upgrade, so i will def be needing this mod in the close future.

Boofo 01-20-2012 11:45 PM

I don't see a setting in the product file. Just the settings phrases.

Wayne Luke 01-20-2012 11:57 PM

Updated the download in the first post. Sorry.

OldSchoolDSL 01-21-2012 12:03 AM

Quote:

Originally Posted by Wayne Luke (Post 2290400)
Updated the download in the first post. Sorry.

That did it.

Thank you very much. :)

Installed & working

4.1.10 :)

Boofo 01-21-2012 12:04 AM

No biggie. It happens to the best of us. ;)

Mooff 01-21-2012 08:42 AM

Thanks for that mod. Not just for coding it, but for actually makeing me aware of this issue.

For me that is a big one and i most likely would have missed it for a long time since i do not surf as a guest on our site.

TheSupportForum 01-21-2012 01:00 PM

if people start using a vbulletin product maker it woudnt happen
its does all the admincp stuff /phrases and descrptions and templates

i used one for all the mods and template i create

Boofo 01-21-2012 03:11 PM

That is called the Advanced Product Management mod. Better than sliced bread! ;)

GhostHunter2010 01-21-2012 04:54 PM

marked but not installed yet

Mooff 01-22-2012 12:51 AM

And installed (well kinda, we use the plugins but do not need the option to switch it on and off, so this was removed).

Again thank you.

Robru 01-22-2012 03:12 PM

Thanks for sharing this mod :)

Brandon Sheley 01-22-2012 03:20 PM

Quote:

Originally Posted by Boofo (Post 2290372)
Good to see you releasing stuff, sir. ;)

My thoughts exactly! :up:

Trevor Matthews 01-22-2012 07:21 PM

Thanks Wayne.
Installed. I had no idea about that issue.

Mario.D 01-24-2012 04:06 PM

Thanks for the mod

Realy bad move of IB to do this change and not tell us about it

waldvb 01-30-2012 02:39 PM

Installed. Why it was removed form 4.1.10?

David Copeland 02-03-2012 07:08 AM

Wayne, how do I "import" a file?

(I am using cPanel for my server. Do I save the file to my PC, and then upload it to a certain file folder in cPanel?)

David

Wayne Luke 02-10-2012 07:18 PM

Quote:

Originally Posted by David Copeland (Post 2295611)
Wayne, how do I "import" a file?

(I am using cPanel for my server. Do I save the file to my PC, and then upload it to a certain file folder in cPanel?)

David

In your Admin CP you go to Plugins / Products -> Add new Product.

HansiB 02-20-2012 10:53 PM

Thank you!!!

satlazone 03-27-2012 02:30 PM

I have faced a problem with this mod.
Click on a category and you will be able to find the button also shown in there.

Please if you can fix this.
Thanks!

MarceloS 01-09-2013 03:26 PM

Nice product. Installed.

I wonder if it is possible to show only the "post" button, but not the "new thread" button?

postcd 03-11-2013 12:06 AM

Please can You add an option for the admin to add New Thread button next to Reply button in the showthread ? Would be also very handy. // edit, here is the mod for that

RedTurtle 09-30-2013 05:13 AM

Hi Wayne,

Thank you for making this mod. I have it installed and was hoping I could ask you a question regarding the functionality.

Currently when a guest clicks on the Post a Reply button they are shown the standard vB no permissions error page where they can choose to login or register. However, that error page isn't super clear and I was hoping to skip it entirely.

Is there a way to have your mod check if the user clicking on the "Post reply" button is a guest and if so, taking them directly to the registration page rather than the no permissions error page?

Thank you!

RedTurtle 09-30-2013 05:38 AM

Actually I tinkered around with this a little bit and was able to edit the template (SHOWTHREAD) and was able to get this to work.

Changed this code:
PHP Code:

<vb:if condition="$show['largereplybutton']">
            <
a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}&amp;noquote=1" class="newcontent_textcontrol" id="newreplylink_top"><vb:if condition="$show['closethread']"><span>+</span> {vb:rawphrase reply_to_thread}<vb:else />{vb:rawphrase closed_thread}</vb:if></a>
            <
img style="display:none" id="progress_newreplylink_top" src="{vb:stylevar imgdir_misc}/progress.gif" alt="" />
        </
vb:if> 

to this code:
PHP Code:

<vb:if condition="$show['largereplybutton']">
<
vb:if condition="$show['guest']">
<
a href="/register.php" class="newcontent_textcontrol" id="newreplylink_top"><vb:if condition="$show['closethread']"><span>+</span> {vb:rawphrase reply_to_thread}<vb:else />{vb:rawphrase closed_thread}</vb:if></a><img style="display:none" id="progress_newreplylink_top" src="{vb:stylevar imgdir_misc}/progress.gif" alt="" /><vb:else />

            <
a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}&amp;noquote=1" class="newcontent_textcontrol" id="newreplylink_top"><vb:if condition="$show['closethread']"><span>+</span> {vb:rawphrase reply_to_thread}<vb:else />{vb:rawphrase closed_thread}</vb:if></a>
            <
img style="display:none" id="progress_newreplylink_top" src="{vb:stylevar imgdir_misc}/progress.gif" alt="" />
        </
vb:if></vb:if> 

This changes the button to always go straight to the registration page for guests when they click on the reply button.


All times are GMT. The time now is 07:13 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.01522 seconds
  • Memory Usage 1,787KB
  • 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (28)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