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)
-   -   Quote Enhancement Addon (https://vborg.vbsupport.ru/showthread.php?t=50549)

amykhar 03-20-2003 10:00 PM

Quote Enhancement Addon
 
This hack is specific to users who have already installed the multiquote hack:

https://vborg.vbsupport.ru/showthrea...ighlight=quote

and the postcounter hack:
https://vborg.vbsupport.ru/showthrea...threadid=22083

and who want to have quotes sort of like the quotes here that link back to the specific post. (Note, if you don't have the multiquote hack installed, what is done at Vbulletin.org can be done as a template mod only. You don't need this hack for that.)


I will not support the original two hacks. You will need to have them working before you try to install mine.

amykhar 03-21-2003 02:34 AM

Screenshot:

amykhar 03-21-2003 02:36 AM

ps. I have installed filbert's quote vbcode improvement. Your quotes won't be formatted like mine unless you have as well.

Boofo 03-21-2003 03:36 AM

LOL You caught the thread. ;) You beat me to it. Good job. ;)

USODJA 03-21-2003 11:38 AM

I am getting this in my quotes

said in post [urlshowthread.php?s=&postid=5363#post5363]#7 [/url]:

amykhar 03-21-2003 12:22 PM

USODJA there has to be a space in the vbcode between the variable and the closing ] or that will happen. So make sure you left a space between $quotenumber and the ] in your template.

Amy

Boofo 03-21-2003 12:30 PM

amy, it needs to be [url= and you have [url :)

USODJA 03-21-2003 12:32 PM

Mine is there, we are talking quotereply template right...

amykhar 03-21-2003 12:34 PM

Doh. Thanks Boofo. I edited out my url and was a bit too delete happy. It seems it's a moot point though: Boofo figured out how to do this in the templates only which makes this a bit unnecessary :D

Amy

USODJA 03-21-2003 12:37 PM

Bingo....LOL I thought I had followed properly

USODJA 03-21-2003 12:40 PM

Wait Boofo now when you click link I get (in quote)

http://showthread.php/?s=&postid=5363

Should I put whole url in there

USODJA 03-21-2003 12:43 PM

Actually that worked...

amykhar 03-21-2003 01:06 PM

I am uploading Boofo's version of this which works with templates and also includes another template mod as well. He asked me to credit Xenon who helped him when he got stuck.

It's a template mod rather than a hack, but also relies on the two hacks I mentioned in the first post.

Amy

Boofo 03-21-2003 01:23 PM

Amy, your name needs to be on that as well. You were my inspiration (or is that perspiration? I always get those 3 mixed up). ;)

Boofo 03-21-2003 01:30 PM

By the way, anyone who uses my version of this hack/mod needs to click on the install button for amy here. Thanks!

Jitway 03-21-2003 01:38 PM

Make sure the quote reply template is
Quote:

$originalposter said in post [url{=}showthread.php?without the brackets{=}s=&postid=$quoteid#post$quoteid]#$quotenumber [/url]:
$pagetext
and not as
Quote:

$originalposter said in post [urlshowthread.php?s=&postid=$quoteid#post$quoteid]#$quotenumber [/url]:
$pagetext

Boofo 03-21-2003 01:41 PM

No problem. It's been handled. Thanks. ;)

amykhar 03-23-2003 05:56 PM

I am back with an addon to the addon. This adds on to my version of the hack and not Boofo's. Boofo's is actually a better way to do what I did in the first part, I just didn't get around to changing to his version on my board.

However, this next part requires hacking the PHP files and cannot be done with just templates (Hopefully Boofo will prove me wrong on that one again :D)

What the addon does:

If you add a user field that gives the user's first name, this addon uses that name in the quote if it is set. If it isn't set, then it uses the username.

To install this addon, you need to know how to add a userfield and to figure out the field number. On my board, that field number is 6. However, it may be different on yours. You will need to modify this code accordingly.


I do not recommend this hack for beginners. It requires you to understand how to read code and modify it slightly.

You can use this addon with Boofo's version of the hack. You will just need to read the code to figure out exactly where to put the new lines.

I will enclose a screenshot in the next post.

Amy

amykhar 03-23-2003 05:57 PM

Screenshot:

Lethal 03-24-2003 10:30 PM

This worked great except at first the post # wasn't showing up in the quote. So in the quote_reply template I changed this:

PHP Code:

[QUOTE][i]$postdate at $posttime [b]$originalposter [/b]said this in
[url {=} $bburl/showthread.php?postid=$postid#post$postid]Post #$post[$postid] [/url][/i]

[B]$pagetext [/B][/QUOTE



To this:

PHP Code:

[QUOTE][i]$postdate at $posttime [b]$originalposter [/b]said this in
[url {=} $bburl/showthread.php?postid=$postid#post$postid]Post# $postid[/url][/i]

[B]$pagetext [/B][/QUOTE

Changing the $post[$postid] at the end of the link to just $postid and it worked for me. Without the brackets in the url part of course.

Gutspiller 04-14-2003 07:12 AM

:( Adding the time to the quote seems to have a problem with the datestamp hack, because when you quote it will quote today/yesterday, but as the days go by, the quote still says yesterday or today and you have to use the date of the actual post that is quoting the others as a point of refference. :tired:

subu1 05-12-2003 06:47 PM

thxx its works on 2.2.8

greetz subu1 klick install

CRego3D 06-15-2003 09:23 PM

Quote:

03-21-03 at 12:36 AM amykhar said this in Post #3
ps. I have installed filbert's quote vbcode improvement. Your quotes won't be formatted like mine unless you have as well.
where is the quote vbcode improvement hack ? :) can't find it


All times are GMT. The time now is 04:43 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.01191 seconds
  • Memory Usage 1,763KB
  • 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
  • (23)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