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)

Admin 04-20-2002 12:47 PM

Quote:

Originally posted by akaler
There obviously needs to be a thread search feature here. I mean, the ability to search WITHIN a thread. When 1 thread alone has 400 messages... you're to the poin where that single thread IS a forum unto itself! Seriously! I've visited many forums with less posts than thing slike this thread has!

Anyway, thanks for the tips! I'm going to painstakingly look for that. Hopefully, someone has come out with a thread search hack -- I'm going to look for one, too. And if not... if any coders are out there reading this... how about it? Search within a thread hack? It's getting essential for big boards like this

LOL, This thread is small. Look at the vbStats thread, to get things started. Then look out for seriously huge threads, with like 65k replies. :D

Anyway, I decided this "Search in Thread" thing's gonna be my next hack. It should be easy. :)

Chris M 04-20-2002 01:02 PM

Cool...

I look forward to this!!!

@LordDraco - I made exactly the same mistake...My friend pointed it out...

Satan

Entourage 04-22-2002 09:51 AM

Very nice hack !! tnx

akaler 04-22-2002 08:50 PM

Quote:

Originally posted by hellsatan
Good idea...

Just one question...

Why all in bold?:D

Satan

Hi, "Satan". (said in a south park voice :)) Thanks.

I can't answer why it's all in bold, either. I used all the VB-code close codes properly. I even just went in to take a second look at it, with a fresh head on me. Looks fine. I fiddled with it a lot more, even adding superfluous /b's and whatnot. Nothing seems to help.

Maybe multiquoting doesn't work well here or something? That'd be weird, though, since I believe I've multiquoted before and it worked fine. But we all know that beliefs aren't necessary true, either. :) Oh ho hum. Long story story: I don't know!

akaler 04-22-2002 08:52 PM

Quote:

Originally posted by FireFly

LOL, This thread is small. Look at the vbStats thread, to get things started. Then look out for seriously huge threads, with like 65k replies. :D

Anyway, I decided this "Search in Thread" thing's gonna be my next hack. It should be easy. :)

GOOD GOD! I had no idea there were such large threads!!!

And thanks a bunch for working on a "search in thread hack"!! Yay!! I'm sure it's going to be another huge hit with a lot of the bigger boards!

lazzy 04-25-2002 06:53 AM

um...the code apears in two different places in the php file...i dont want to mess up my forums so do i just delete the two lines of code and put the replacement code where the first line went? help...

DWZ 04-25-2002 09:27 AM

Just installed it :)

lazzy 04-25-2002 04:47 PM

then tell me if u deleted the two lines of code...what did u do???

lazzy 04-26-2002 12:04 AM

so do u delete the two lines of code and put the addition where the first one was? or do u delete both lins of code and put it where the second one was, or do u just delete the first and put it where the first was, or just delete the second and put it there, OR do u delete BOTH linens and past the same code where both lines where, or do u just pull a gun out right now and blow a hole in the monitor?

Learner29 04-29-2002 07:44 AM

THANK YOU A MILLION.
a very neat hack...

I made a little error and placed it on top of the page, but then could find where the error is... in fact, I do not have the very last version of vb on my forum, and thus the php files are a bit different....

anyway, I am a big fan of your hacks firefly.

thanks

MikeL 04-29-2002 11:34 AM

Very nice but I get a runtime error line 274 anyone else...

PS I'm a newbie... be kind.

Thanks

Pulsorock 04-29-2002 09:42 PM

What if I allow Guest/Unregistered users to post in my boards. Is there a way I can prevent them from using the quick reply box to post and in that way preventing that what they type appears with no name in the author field?

Boofo 05-01-2002 12:03 PM

We installed the quick reply box, which by the way is a great hack. We installed bira's expand and contract like you have here and now when we use the reply box it gives us this error:

No thread specified. If you followed a valid link, please notify the webmaster.

Firefly, have you run into this problem yet and do you have any idea what might be causing it? Thanks in advance.

Chris M 05-01-2002 05:58 PM

@Boofo - How do you mean?

Will it not allow you to post?

If not, maybe you should check your "showthread" template again, and make sure you havent put the $replybox, or the code it tells you to put in, in the wrong place...

Satan

Learner29 05-01-2002 08:31 PM

this is an excellent hack. I love it. I tried it and it works very fine.

Sketch 05-01-2002 09:29 PM

nice work, Firefly. Works weel. ;)

Sketch

Learner29 05-01-2002 11:01 PM

> nice work, Firefly. Works weel. ;)

IMHO, this Quick Reply Box hack is one of the very best hacks I ever used.
It works nice, it is VERY useful, and I personally did not have ANY error
with it, though I installed it on four different bulletins.

can I send a flower (F) to FireFly. ?

ForKmaN 05-02-2002 07:06 AM

I installed this hack and it seemed to work fine, but it started giving me syntax errors because of the JavaScript with the checking message length part of the hack, is there someway I can fix this?

I was going to uninstall it but I'm not sure if this code for this hack is interfering with other hacks.

Jawelin 05-02-2002 07:07 AM

Quote:

Originally posted by akaler
[...]
Two suggestions

A. I noticed that when you do a quick reply, it doesn't add that particular post to your subscribed threads. Is there a way to turn that on? Or perhaps in an update, give a checkbox someone hits to subscribe... a little "subscribe to thread" box would be cool.

A lot of people don't even know they're subscribed to threads when they reply the normal way. A checkbox system would not just give them a choice, but give them awareness, too.


Look at Post #272 and more...
:p

Instead, I'm still looking for a way to check if the current page is the last page of the thread .... Anyone ?!?!? :disappointed:
Thnx

Admin 05-02-2002 09:44 AM

Jawelin: Try
Code:

if ($pagenumber == ceil($totalposts/$perpage)) {
But you will need to move the hack down a bit I think... mess with it a little.

Boofo 05-02-2002 10:07 AM

hellsatan,

It was working fine before. I have been through the showthread.php at least 10 times trying to figure out what the problem is. I'm not sure what is causing it.

KeithMcL 05-02-2002 10:36 AM

Nice hack - pretty easy to install.

On my forums I couldn't find exactly where to add the $replybox part to the Showthread but worked it out for myself.

Thanks Chen!

Jawelin 05-02-2002 01:20 PM

Quote:

Originally posted by FireFly
Jawelin: Try
Code:

if ($pagenumber == ceil($totalposts/$perpage)) {
But you will need to move the hack down a bit I think... mess with it a little.

Yeah! Thanks... It worked! :cool: :classic:

I put the check you suggested between the others :
PHP Code:

} elseif ($pagenumber != ceil($totalposts/$perpage)) {    // replybox on the last page only 
    
$replybox=''

and MOVED the entire block brutally at the end of showthread.php, just before the template evaluation...
I tried a couple places above, but think it should at least be after the $limitlower/$limitupper stuff. Truthfully, that box goes at the end of the page, doesn't it ? ;)

:classic:
Thanks again.

Chris M 05-02-2002 05:16 PM

@Boofo...

Hmmm...

Send me an email of your Showthread template to : thephora@hotmail.com

I shall look through it and see if I can find any problems or errors...

Other than that, I have no clue...

Satan

Boofo 05-03-2002 12:34 AM

It is on it's way to you. And thank you for taking the time to look at this. :-)

Floris 05-03-2002 11:31 AM

Uhm, how can I set it so, that if a user has - Email notification set to yes/ or /no- that this quick reply box hack will use it?

tpearl5 05-04-2002 01:53 AM

This might be a bug. When a user posts using the quick reply the thread does not update in the active threads. This is aparent on my board because I link to the active threads.

For example: in this thread http://degster.com/midi/board/t13.html

I posted last however it does not say this here: http://degster.com/midi/board/search...&searchid=2803

(yes, I know it's linked to an individual search)

Mntsnow 05-04-2002 01:53 AM

I assume that this will still work in Version 2.2.5 even though it says it's for 2.2.3 since it's being used here :)

My question is... Is the coding still the same or do I have to look for different code or implement different code?

Thanks for helping a newbie ;)

tpearl5 05-04-2002 02:03 AM

There's no differences that I noticed when I installed everything.

Mntsnow 05-04-2002 02:10 AM

Thanks :) I'm going to try it then :)

Learner29 05-04-2002 03:24 AM

> I assume that this will still work in Version 2.2.5 even though it says
it's for 2.2.3 since it's being used here :)
> My question is... Is the coding still the same or do I have to look for
different code or implement different code?
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

it works! for sure, I tested it 4 times and it works smooooth
Yet if I remember well, yes, some minor, very minor, and apparent changes in
the code might be there...
But you will get by. I am confident.
Just give it a try and if it does not work, let us know.
It is a big family here, you would find many who are willing to help ya.
;-)

Learner29 05-04-2002 03:28 AM

> This might be a bug. When a user posts using the quick reply the thread
does not update in the active threads. This is aparent on my board because
I link to the active threads.
>
> For example: in this thread
http://degster.com/midi/board/t13.html
>
> I posted last however it does not say this here:
http://degster.com/midi/board/search...;searchid=2803
>
> (yes, I know it's linked to an individual search)
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

hmmm. I do not know if my post would answer your question but let me tell
you this.
I used the reply-box, and went back to the forum, and the thread was
CORRECTLY updated with last post by ME.

Mathiau 05-04-2002 03:31 AM

quick reply works fine on 2.2.5, got it on my board, tested it many times, no probs, no bugs *knock on wood*

:)

Chris M 05-04-2002 01:37 PM

Firefly...

Myself and Boofo have been working to get this to work, and now it doesnt, even after a Fresh re-install...

What is wrong with it?

We havent added any other hacks except for the Quick Reply Box, and it still comes up with :

"No Valid Link specified...Please contat the Webmaster"

Any clues, as both of us a clueless??

Satan

kmistry 05-04-2002 02:43 PM

works fine for me!

Boofo 05-04-2002 04:01 PM

this really has me stumped! I just did a fresh install, put the quick reply box in and triple checked everything and I still get the Forum not specified error. Anyone have any idea at all what could be causing this?

Chris M 05-04-2002 05:05 PM

I know this isnt confirmed...

But maybe it could be your hosting company's server?

Probably not...

FireFly - Help!:(

Satan

Boofo 05-04-2002 05:11 PM

I had it working at one time. :lick:

Chris M 05-04-2002 07:56 PM

Damn...

Maybe there is no explanation...

Satan

Boofo 05-04-2002 08:46 PM

I'm moving to a new server this weekend. We'll see if that does anything. :-)


All times are GMT. The time now is 11:39 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.02788 seconds
  • Memory Usage 1,826KB
  • 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_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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