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)
-   -   Quick Reply Box (https://vborg.vbsupport.ru/showthread.php?t=34597)

Genesis 03-30-2002 05:06 PM

Patience never was a good quality of mine.

I fixed this by adding the USERNAME input box from the REGISTER page.

If you are logged in it overrides it though. Meaning if you enter TEST as username it will take your logged in name (which is good). If you are not logged in it will USE what you entered in the box.

However while that override is good i'd rather have it just DID NOT appear if the user is regged.

Code:

<tr>
        <td bgcolor="{secondaltcolor}"><normalfont><b>User Name:</b></normalfont></td>
        <td bgcolor="{secondaltcolor}"><normalfont><input type="text" class="bginput" name="username" size="25" maxlength="$maxuserlength"></normalfont></td>
</tr>


Gen

boatdesign 03-30-2002 09:33 PM

Is there a way to only show the quick reply for users who are logged in?

I allow guests to post, but would prefer if unregistered users post with the standard full post screen:
1.) So that they can enter their name in the username field (so the post is posted from John LastName/Guest User rather than Unregistered/Guest User)
2.) To reduce spam. I really want this to be avaible for registered logged-in users to make posting for them quicker, but I don't want to make it too easy for visitors to spam my board, even though I do want to allow guest users to post (just not this easily :)

boatdesign 03-30-2002 09:43 PM

Has anyone tried to make it so the quick reply box only appears on the last page of the thread (so people won't reply having read only the first page without reading the whole thread first?)

Visionray 03-31-2002 05:11 AM

Great hack! Works perfectly.

Genesis 03-31-2002 12:15 PM

Hmmm. The fix i did to allow a username box seems to have backfired. It works great for unregged users however if you are registered and you type in a username the post is MADE AS YOUR REGGED NAME BUT if you look at the thread it says Last post by "username you entered" and not the one you where logged in. It also does this on the mainpage. Firefly any help plz ?

/Gen

Jawelin 03-31-2002 12:39 PM

How could make this hack automatically subscribe to the just replied thread if the user config has subscription enabled ?
Is the proper hidden var enough ?

Thanks

Admin 03-31-2002 01:12 PM

Yes Jaweli and Genesis try using $logincode in the showthread_replybox template.

DFX 03-31-2002 03:43 PM

Quote:

Originally posted by FireFly
Error 28 means "no space left on device". Nothing to do with this hack. :)
Ok :)

It seems to work on most of the threads if used on "Page 1" and not on pages 2-3 etc. However on some pages it won't work on "Page 1" and they don't have multiple pages. :(

Genesis 03-31-2002 06:04 PM

Quote:

Originally posted by FireFly
Yes Jaweli and Genesis try using $logincode in the showthread_replybox template.
see,

This is why i opted for a paying solution rather than using one of those free boards on the net.
Quality support :)
I don't know if FF gets payed for what he does but he sure does it GOOD.

Thanks :)
It works perfectly now.

Keep up the good work FireFly.
Tis appreciated.

Greetz

Gen

Ignite 03-31-2002 08:00 PM

I installed everything, but the box came at the top of the thread, not the bottom.


All times are GMT. The time now is 09: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.02661 seconds
  • Memory Usage 1,735KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (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