Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[AJAX] vB Forum Titles AJAX Editor 1.0.1 Details »»
[AJAX] vB Forum Titles AJAX Editor 1.0.1
Version: 1.0.1, by Deceptor Deceptor is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.8.0 RC 2 Rating:
Released: 12-23-2008 Last Update: 12-25-2008 Installs: 111
Uses Plugins Auto-Templates
Additional Files  
No support by the author.

vB Forum Titles AJAX Editor

This is a simple modification that will allow forum administrators to quickly edit forum titles, including categories. This works on both forum home and forum display pages, and operates just like ajax thread title editing, simply double click on the forum cell and the editor will pop up allowing you to change the title.


Note
Please be aware that on some skins this may not be functional, I've done my best to ensure that compatability with all styles is possible, but there may still be a problem or two for those with heavily changed styles. Should you believe this is occuring to you, let me know below and I'll do my best to help.


Change Log

Version 1.0.1
- Fixed unicode character issues, such as ??, etc..


Screenshots below, enjoy

Download Now

File Type: zip vB Forum Titles AJAX Editor 1.0.1.zip (4.0 KB, 704 views)

Screenshots

File Type: jpg FT Screen 1.jpg (46.8 KB, 0 views)
File Type: jpg FT Screen 2.jpg (43.8 KB, 0 views)

Show Your Support

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

Comments
  #52  
Old 04-03-2009, 09:50 PM
supLaditOz supLaditOz is offline
 
Join Date: Jan 2009
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is easy to change forums and category great job

Installed!
Reply With Quote
  #53  
Old 04-04-2009, 06:37 PM
LGKeiz LGKeiz is offline
 
Join Date: Nov 2005
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This doesn't work with vbseo..
Reply With Quote
  #54  
Old 04-19-2009, 01:49 PM
dutchbb dutchbb is offline
 
Join Date: Nov 2003
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doesn't work here, also using vbseo.

vBulletin should make this default!
Reply With Quote
  #55  
Old 05-16-2009, 09:21 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would install this, if it would also does:
* forum description editing,
* project tools title / descriptions,
* and works with vBSEO.
Nice addon
Reply With Quote
  #56  
Old 01-06-2010, 02:09 AM
tldagent tldagent is offline
 
Join Date: Mar 2006
Location: Ohio
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent Hack. Nominated MOTM. Great find, thanks for sharing.
Reply With Quote
  #57  
Old 05-16-2010, 11:58 PM
derzok derzok is offline
 
Join Date: Jan 2009
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hack does not work with forum titles that have single quotes (') in them. To fix, add:

Code:
function vbaddslashes (str) {
    return (str+'').replace(/[\\"']/g, '\\$&').replace(/\u0000/g, '\\0');
}
to the clientscript. Then change:

Code:
eval("element." + a + " = " + ((parseInt(attributes[a])  == attributes[a]) ? attributes[a] : "'" + attributes[a] + "'") + ";");
to

Code:
eval("element." + a + " = " + ((parseInt(attributes[a])  == attributes[a]) ? attributes[a] : "'" + vbaddslashes(attributes[a]) + "'") + ";");
in the same file
Reply With Quote
  #58  
Old 07-04-2010, 12:33 PM
sinpin sinpin is offline
 
Join Date: Jan 2008
Location: Paradise
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice idea, thanks
Reply With Quote
  #59  
Old 08-31-2011, 02:56 PM
Rafael? Rafael? is offline
 
Join Date: Jun 2009
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks, installed on vb 3.8.7!
Reply With Quote
  #60  
Old 04-15-2013, 03:49 PM
Xexiu Xexiu is offline
 
Join Date: May 2008
Location: Barcelona
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using this hack for a very long time!

Is it posible to change attributes ID with CLASSES?

I saw that the code above its calling an ID, I would like to switch to "class" in order to:

Code:
<span id="forumtitle_ajax_$forum[forumid]">$forum[title]</span>
can be:

Code:
<span class="forumtitle_ajax_$forum[forumid]">$forum[title]</span>
I'd had a look inside the javascript and observed this:

Code:
if (spans[s].id && spans[s].id.substr(0, 16) == 'forumtitle_ajax_')
				{
					this.spans[spans[s].id.replace('forumtitle_ajax_', '')] = spans[s];
					this.seek_parent(spans[s], 'td').ondblclick = vB_AJAX_Forumlist.forum_doubleclick;
				}
How can I change from .id to .class?? Is it posible? I'm not a javascript expert so I dont know much about it.

Any help, will be appreciated.

Thanks.
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 10:58 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.07034 seconds
  • Memory Usage 2,318KB
  • 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
  • (6)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (3)postbit_attachment
  • (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
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete