vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Administrative and Maintenance Tools - [AJAX] vB Forum Titles AJAX Editor 1.0.1 (https://vborg.vbsupport.ru/showthread.php?t=199680)

supLaditOz 04-03-2009 09:50 PM

This is easy to change forums and category great job

Installed!

LGKeiz 04-04-2009 06:37 PM

This doesn't work with vbseo..

dutchbb 04-19-2009 01:49 PM

Doesn't work here, also using vbseo.

vBulletin should make this default!

Floris 05-16-2009 09:21 AM

I would install this, if it would also does:
* forum description editing,
* project tools title / descriptions,
* and works with vBSEO.
Nice addon :)

tldagent 01-06-2010 02:09 AM

Excellent Hack. Nominated MOTM. Great find, thanks for sharing.

derzok 05-16-2010 11:58 PM

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

sinpin 07-04-2010 12:33 PM

Nice idea, thanks

Rafael? 08-31-2011 02:56 PM

thanks, installed on vb 3.8.7!

Xexiu 04-15-2013 03:49 PM

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.


All times are GMT. The time now is 05:31 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.01274 seconds
  • Memory Usage 1,726KB
  • 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
  • (6)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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