Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
Change prefixes with AJAX Details »»
Change prefixes with AJAX
Version: 1.1, by pipin pipin is offline
Developer Last Online: Jul 2022 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.7.4 Rating:
Released: 10-01-2008 Last Update: 12-29-2008 Installs: 22
Uses Plugins Template Edits
Re-useable Code Code Changes  
No support by the author.

This hack allows you to change the prefix of a thread through AJAX. The prefix is shown in a separate column.

At the moment there is no product version of this hack, if someone has ideas or wants to build such a solution with this hack, just pm me.

Thanks to TiKu the original coder of this hack.


Release history:

Version 1.1 (12/30/08)
- template edits corrected
- prefix no more in a seperate column on searches
- workaround a newly introduced bug in Internet Explorer

-
vbulletin_ajax_threadlist.zip deleted (Jelsoft terms and copyright)

Version 1.01 (10/02/08)

- first version on vb.org
- template edits corrected



How to install:


1. file edit and upload

edit /clientscript/vbulletin_ajax_threadlist.js according to change_vbulletin_ajax_threadslist.txt and upload vbulletin_ajax_threadlist.js to the directory clientscript.

2. creating plugin

create a plugin with this data:

Product: vBulletin

Hook: ajax_complete

Title: AJAX for Prefixes

Plugin PHP Code: the code in plugin_code.txt


3. change templates

change the templates as written in template_edits_english.txt


Q&A:

Can this be done without a separate column for the prefixes?

At the moment there is no solution for this

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
xorex

Comments
  #2  
Old 10-02-2008, 08:13 AM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would suggest you make a plugin / product XML file instead of telling users to make the plugin themselves. This way you can link it back to this thread, not to mention limit install mistakes.
Reply With Quote
  #3  
Old 10-02-2008, 09:56 AM
Razasharp's Avatar
Razasharp Razasharp is offline
 
Join Date: Feb 2005
Location: UK
Posts: 373
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would it be possible to change/add to this so you can change prefix with ajax whilst on the show thread page?

Sometimes a prefix can only be decided on after seeing the content of the post

Cheers!
Reply With Quote
  #4  
Old 10-02-2008, 10:12 AM
pipin's Avatar
pipin pipin is offline
 
Join Date: Jan 2005
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wired1 View Post
I would suggest you make a plugin / product XML file instead of telling users to make the plugin themselves. This way you can link it back to this thread, not to mention limit install mistakes.
We will see, never created a product so far.

Quote:
Originally Posted by Razasharp View Post
Would it be possible to change/add to this so you can change prefix with ajax whilst on the show thread page?

Sometimes a prefix can only be decided on after seeing the content of the post

Cheers!
Thats one thing i would like to have, too. But it may be much moore difficult to code. You even cant change the title in the showthread with AJAX in the vB standard.

In addition the coder of this hack is at the moment finishing his IT university studies.
Reply With Quote
  #5  
Old 10-02-2008, 05:11 PM
GaiLoan GaiLoan is offline
 
Join Date: Dec 2007
Location: California,US
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks,
Reply With Quote
  #6  
Old 10-06-2008, 11:34 AM
jluerken's Avatar
jluerken jluerken is offline
 
Join Date: Aug 2003
Location: Germany
Posts: 1,016
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Jelsoft please add this as standard in one of the future releases.
It makes sense to control the prefixes like this!
Reply With Quote
  #7  
Old 10-07-2008, 06:02 AM
gael11 gael11 is offline
 
Join Date: Oct 2005
Location: South of France
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could you translate in english the template.txt's file ?

Thank you

What does that mean:

dies einfügen

vor

hinter

(kommt 2 mal vor)

jeweils
Reply With Quote
  #8  
Old 10-08-2008, 02:17 PM
pipin's Avatar
pipin pipin is offline
 
Join Date: Jan 2005
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gael11 View Post
Could you translate in english the template.txt's file ?

Thank you

What does that mean:

dies einf?gen

vor

hinter

(kommt 2 mal vor)

jeweils

Sorry.

Its fully translated now.
Reply With Quote
  #9  
Old 10-14-2008, 10:30 PM
LeatherNeck's Avatar
LeatherNeck LeatherNeck is offline
 
Join Date: Jan 2007
Location: UK
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Sorry.

Its fully translated now.
Danke mein Freund :up:
Reply With Quote
  #10  
Old 10-31-2008, 05:39 PM
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Posts: 827
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If I use images (via html code) as the thread prefixes, will the images display in the pulldown instead of the text? If not, how would I go about showing the images instead?

Or will this show the text version of the images, but still show an image there once selected?
Reply With Quote
Reply

Thread Tools

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 02:16 AM.


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.04577 seconds
  • Memory Usage 2,296KB
  • Queries Executed 24 (?)
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
  • (4)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
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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