vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Administrative and Maintenance Tools - [AJAX] Thread Bumping 1.1 (https://vborg.vbsupport.ru/showthread.php?t=137796)

sebbe 02-06-2007 06:25 AM

Quote:

Originally Posted by BobbyBig (Post 1175183)
Another Bug:

When Bumping a Thread which includes a?? in the Title, it changes the Title:

"Sch?nste" is changing to "Schönste". -> also in the database!

Please provide me with a fix for that.
Thank you.

Well I believe it's normal for the database depending on what charset you use, most likely you have "MySQL charset: UTF-8 Unicode (utf8)" or the like no? Happens for me as well (swedish characters).

However, are you saying vBulletin display those characters incorrect? That would seem weird to me.

parrot5 02-09-2007 02:09 AM

1 Attachment(s)
After a thread is bumped, the following error appears:
Attachment 60261

And the post status icon is not read from the correct path:
Attachment 60262

Any idea how I can correct these problems? Thanks.


BTW, in a somewhat related reply to the poster above who has some encoding problem, I can report that I have this mod working in my UTF-8 3.6.4 for Chinese characters (both Simplified and Traditional) and there is no character/encoding problem for me.

giotmuadong 02-09-2007 03:56 AM

very nice. thanks :)
btw, how do you rename "excellente" :D

sebbe 02-09-2007 01:52 PM

Quote:

Originally Posted by parrot5 (Post 1178030)
After a thread is bumped, the following error appears:
Attachment 60261

And the post status icon is not read from the correct path:
Attachment 60262

Any idea how I can correct these problems? Thanks.


BTW, in a somewhat related reply to the poster above who has some encoding problem, I can report that I have this mod working in my UTF-8 3.6.4 for Chinese characters (both Simplified and Traditional) and there is no character/encoding problem for me.

Is that IE6?
On line 74 in threadbump.js try change
HTML Code:

document.getElementById('td_threadtitle_' + tthreadid).parentNode.getElementsByTagName('td')[3].getElementsByTagName('div')[0].getElementsByTagName('span')[0].firstChild.nodeValue = xmlHttp.responseText;
to
HTML Code:

document.getElementById('td_threadtitle_' + tthreadid).parentNode.getElementsByTagName('td')[3].getElementsByTagName('div')[0].getElementsByTagName('span')[0].innerHTML = xmlHttp.responseText;

also on line 72 you can hardcode your statusicon folder like so
HTML Code:

setAttribute('src', 'http://www.mydomain.com/forum/images/statusicon/thread_dot_new.gif');

Quote:

Originally Posted by giotmuadong (Post 1178085)
very nice. thanks :)
btw, how do you rename "excellente" :D

What do you mean "excellente" ? :)

parrot5 02-10-2007 12:29 AM

Quote:

Originally Posted by sebbe (Post 1178389)
Is that IE6?
On line 74 in threadbump.js try change
HTML Code:

document.getElementById('td_threadtitle_' + tthreadid).parentNode.getElementsByTagName('td')[3].getElementsByTagName('div')[0].getElementsByTagName('span')[0].firstChild.nodeValue = xmlHttp.responseText;
to
HTML Code:

document.getElementById('td_threadtitle_' + tthreadid).parentNode.getElementsByTagName('td')[3].getElementsByTagName('div')[0].getElementsByTagName('span')[0].innerHTML = xmlHttp.responseText;

also on line 72 you can hardcode your statusicon folder like so
HTML Code:

setAttribute('src', 'http://www.mydomain.com/forum/images/statusicon/thread_dot_new.gif');

My crew uses IE6 and firefox...

for the status icon, the following works instead (yes omit the http:// part or else the link becomes http://http// ):
HTML Code:

setAttribute('src', 'www.mydomain.com/forum/images/statusicon/thread_dot_new.gif');
Thanks for your work in this mod. All of my crew love it!

Spank 02-10-2007 07:47 AM

Nice hack, will come in very useful for staff.

I have the Seperate Sticky hack installed, The fix you mention does work in that it keeps the stickies seperated although it stops the thread list from updating in real time, a refresh is required. (Although post notification icon updates in real time) Can this be fixed?

sebbe 02-10-2007 08:34 AM

Quote:

Originally Posted by Spank (Post 1178988)
Nice hack, will come in very useful for staff.

I have the Seperate Sticky hack installed, The fix you mention does work in that it keeps the stickies seperated although it stops the thread list from updating in real time, a refresh is required. (Although post notification icon updates in real time) Can this be fixed?

But the thread bumps up right under the stickys no? Can you post screenshot?

Spank 02-10-2007 10:37 AM

1 Attachment(s)
The stickies still seperate yes, it's just when you bump it doesn't do it straight away, a refresh is required to see that the tread has been bumped. I'm not sure how i can show this in a screen shot, but here's one anyway.

Actually the Seperated Sticky fix doesn't work, I guess I didn't test it right. Although one can 'unstick' the bumped threads which puts them back into the normal threads.

sebbe 02-10-2007 12:36 PM

Quote:

Originally Posted by Spank (Post 1179052)
The stickies still seperate yes, it's just when you bump it doesn't do it straight away, a refresh is required to see that the tread has been bumped. I'm not sure how i can show this in a screen shot, but here's one anyway.

Actually the Seperated Sticky fix doesn't work, I guess I didn't test it right. Although one can 'unstick' the bumped threads which puts them back into the normal threads.

Are you saying that the bumped thread becomes a sticky? Even permanent? The screenshot does not tell.

Well I don't have time to write custom code for everyone depending on whether their forumdisplay is modified or not. Maybe I'll make a fix for those with the separate sticky hack, but not for now.

Maybe you could live with the fact that it's bumped yet it doesn't show until page refresh. If not, then uninstall?

Charlie98902 02-10-2007 02:47 PM

When more restrictions can be applied I will install this hack too.

*Reserved*


All times are GMT. The time now is 05:01 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.01648 seconds
  • Memory Usage 1,751KB
  • 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
  • (7)bbcode_html_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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