Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Details »»

Version: , by Scott MacVicar Scott MacVicar is offline
Developer Last Online: Mar 2016 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 09-20-2001 Last Update: Never Installs: 85
 
No support by the author.

I had tried a version suggested by someone else instead of my own and well, all it did was send the load average up by about 10 times what it was.

This version inserts the last title into the forum database when it is updating the last post name and time. There is no difference in loading time as everything is called normally by vBulletin.

This works on 2.0.x and 2.2.x

Updated at 11:34 GMT on 28th September 2002

Thanks to floren for the latest update.

Show Your Support

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

Comments
  #202  
Old 07-18-2002, 06:56 PM
Courage Courage is offline
 
Join Date: Feb 2002
Location: Romania
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If someone post a new thread with the subject

<iframe src="http://www.vbulletin.org"></iframe>

the iframe apears in the main page of my forum ! :@
My forum is so ++++ed UP ! ;(

Need support !
Reply With Quote
  #203  
Old 07-27-2002, 11:46 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Scott,

I have one last title on the forum home that keeps giving me the errorid error when I click on the last title link. The others work fine but this one thread will not go to the first post when you click on it. The last post button will take you to the last post ok. Any ideas what could be causing this? And I already did the updates for forum counters and stuff and it didn't change anything.

And any word on the apostophes in the name causing db errors when I update the counters? Any help would be appreciated.
Reply With Quote
  #204  
Old 07-28-2002, 01:03 PM
si@smscworld si@smscworld is offline
 
Join Date: Jul 2002
Location: UK
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, not sure if this has already been mentioned, but here goes anyway:

I have installed this hack fine and it works great, thanks PNN. But I have a Admin Only Area and I don't want other members seeing what threads are being made in this forum. Can someone tell me how to remove the last thread on that section. Thank you for reading and I hope someone can help me
Reply With Quote
  #205  
Old 07-29-2002, 07:33 AM
si@smscworld si@smscworld is offline
 
Join Date: Jul 2002
Location: UK
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone? surely someone has sorted this out!
Reply With Quote
  #206  
Old 07-31-2002, 06:47 PM
Austin Dea's Avatar
Austin Dea Austin Dea is offline
 
Join Date: Dec 2001
Location: Denver, CO, USA
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had my sizs all set and it was working fine but I upgraded to 2.2.6 and now I can't get the sizes to work at all.

PHP Code:
          $forum['lasttitle']=unhtmlspecialchars($forum['lasttitle']);
          if (
strlen($forum['lasttitle']) > 20) {
            
$forum['lasttitle'] = substr($forum['lasttitle'], 017);
            
$forum['lasttitle'] .= '...';
          } 
Is it something to do with the new php version o_O...
Reply With Quote
  #207  
Old 07-31-2002, 06:55 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's what I have and it works fine.

PHP Code:
 $forum['lasttitle']=unhtmlspecialchars($forum['lasttitle']);
            if (
strlen($forum['lasttitle']) > 30) {
              
$forum['lasttitle'] = substr($forum['lasttitle'], 028);
              
$forum['lasttitle'] .= '..';
            } 
Quote:
Originally posted by Austin Dea
I had my sizs all set and it was working fine but I upgraded to 2.2.6 and now I can't get the sizes to work at all.

PHP Code:
          $forum['lasttitle']=unhtmlspecialchars($forum['lasttitle']);
          if (
strlen($forum['lasttitle']) > 20) {
            
$forum['lasttitle'] = substr($forum['lasttitle'], 017);
            
$forum['lasttitle'] .= '...';
          } 
Is it something to do with the new php version o_O...
Reply With Quote
  #208  
Old 07-31-2002, 07:20 PM
Austin Dea's Avatar
Austin Dea Austin Dea is offline
 
Join Date: Dec 2001
Location: Denver, CO, USA
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yours is the same thing only longer..

Maybe I need to reinstall... but i thought the index.php part of the hack would be the only thing that controls the length...
Reply With Quote
  #209  
Old 07-31-2002, 07:45 PM
Austin Dea's Avatar
Austin Dea Austin Dea is offline
 
Join Date: Dec 2001
Location: Denver, CO, USA
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ARe you on 2.2.6? Because mine stilll doesn't work after re-installing...
Reply With Quote
  #210  
Old 08-01-2002, 10:58 PM
Austin Dea's Avatar
Austin Dea Austin Dea is offline
 
Join Date: Dec 2001
Location: Denver, CO, USA
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Boofo, you're not using vB 2.2.6 at www.bearfacts2.com/forum/ ...
Reply With Quote
  #211  
Old 08-01-2002, 11:05 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You got me there.

The code is the same code I have given a few people with 2.2.6 and it has worked fine for them. Sorry that it doesn't for you. :disappointed:

What is exactly happening when you insert your code? Is anything showing at all? The forumhome template was supposed to be changed in 2.2.6. Could that possibly be a problem? I don't know, I'm just guessing here.

Quote:
Originally posted by Austin Dea
Boofo, you're not using vB 2.2.6 at www.bearfacts2.com/forum/ ...
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:20 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.05086 seconds
  • Memory Usage 2,317KB
  • 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
  • (3)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
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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