Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Quote Enhancement Addon Details »»
Quote Enhancement Addon
Version: 1.00, by amykhar amykhar is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 03-20-2003 Last Update: Never Installs: 15
 
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 03-21-2003, 12:40 PM
USODJA's Avatar
USODJA USODJA is offline
 
Join Date: Dec 2002
Location: Arnprior, Ontario, Canada
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

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

Should I put whole url in there
Reply With Quote
  #13  
Old 03-21-2003, 12:43 PM
USODJA's Avatar
USODJA USODJA is offline
 
Join Date: Dec 2002
Location: Arnprior, Ontario, Canada
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actually that worked...
Reply With Quote
  #14  
Old 03-21-2003, 01:06 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #15  
Old 03-21-2003, 01:23 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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).
Reply With Quote
  #16  
Old 03-21-2003, 01:30 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

By the way, anyone who uses my version of this hack/mod needs to click on the install button for amy here. Thanks!
Reply With Quote
  #17  
Old 03-21-2003, 01:38 PM
Jitway's Avatar
Jitway Jitway is offline
 
Join Date: Sep 2002
Location: In a hub!
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #18  
Old 03-21-2003, 01:41 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No problem. It's been handled. Thanks.
Reply With Quote
  #19  
Old 03-23-2003, 05:56 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 )

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
Reply With Quote
  #20  
Old 03-23-2003, 05:57 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Screenshot:
Reply With Quote
  #21  
Old 03-24-2003, 10:30 PM
Lethal Lethal is offline
 
Join Date: Feb 2002
Location: PA/USA
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:15 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04982 seconds
  • Memory Usage 2,315KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete