vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   New Posting Features - Quick Reply for Guests by BOP5 (https://vborg.vbsupport.ru/showthread.php?t=267690)

BirdOPrey5 08-24-2011 10:12 AM

If nothing happens even with the manual edits there's nothing much I can do. But I notice you don't seem to have guest posting enabled at all- this mod won't let guests quick-reply unless you already give them permission to post to begin with.

steveneff 12-30-2011 07:44 PM

Hello, thanks for this mod.

Got it working on vBulletin 4.1.2 Patch Level 3

imported mod
turned off auto edit
Used the code below in place of what's in the readme

PHP Code:

 <vb:if condition="$show[bop5username]">
<
div>{vb:rawphrase username}: <input type="text" class="bginput" name="username" value="{vb:raw vboptions.bop5qrg_username}" tabindex="1" /></div>
</
vb:if> 

One thing, if someone changes the default name when posting it does not change it in their post in admin cp, it stays as the default name.
Did it work in the original, can it be fixed?

BirdOPrey5 12-31-2011 11:18 AM

That's really weird, in my experimenting I found the permissions were different in vb 4.x then 3.x and that was the main reason (I thought) the 3.x code wouldn't work on 4.x.

I will investigate this on 4.x and see what I can see, thanks for the info. :up:

steveneff 01-15-2012 07:15 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2282504)
I will investigate this on 4.x and see what I can see, thanks for the info. :up:

How's it going?

Don't know if this is the way quick reply normally works but if I use it on a thread that has more than one page, not the last page, after submitting the post I get kicked back to forum display. If I use quick reply on the last page it works fine, after submitting the post it stays on the same thread page.

BirdOPrey5 01-15-2012 09:52 PM

haven't started yet... that is not the way quick reply should work, probably a bug since it doesn't think quick reply should be enabled.

steveneff 01-16-2012 07:58 PM

If I change this code in showthread.php it works, but is it safe to change?
PHP Code:

// only allow ajax on the last page of a thread when viewing oldest first
        
$show['allow_ajax_qr'] = (($vbulletin->GPC['pagenumber'] == ceil($totalposts $perpage)) ? 0); 

Change to:
PHP Code:

// only allow ajax on the last page of a thread when viewing oldest first
        
$show['allow_ajax_qr'] = 1


BirdOPrey5 01-17-2012 12:58 AM

I don't think that should work right... but try it.

steveneff 01-17-2012 09:50 PM

It does look to be working ok. What do you think would not work right?

BirdOPrey5 01-18-2012 12:09 PM

What happens if you add a quick-reply on a page other than the last page?

steveneff 01-18-2012 08:22 PM

Before making that change to showthread.php if you used quickreply on a page other than the last page, once the post had been submitted you would be kicked to the threads forumdisplay page.
With the change in place the you stay on the same thread page after the post has been submitted.


All times are GMT. The time now is 08:21 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.01559 seconds
  • Memory Usage 1,741KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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