vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Forum News (News in a Forum) (https://vborg.vbsupport.ru/showthread.php?t=41052)

Smoothie 07-15-2002 04:43 AM

question....in my vb options, the settinggroup, whosonline is 31, and then there are 2 new ones. Quiz is 32, and signature settings is 302. What number should I use when i change the "insert into" queries?

JJR512 07-15-2002 04:56 AM

You can really use any number that's not already in use. You could make it be 33 to appear in between quiz and signature settings, or you could make it be 303 to appear last.

Smoothie 07-15-2002 05:02 AM

Two more quick questions before i install. have you had a any problems with moreover.com slowing your forums down, and are there additional queries that are added by using this hack?

Thanks.

JJR512 07-15-2002 05:51 AM

I believe it adds one query to every forumdisplay page to check if that forum has a newsfeed, and if there is, there is another query to get the details.

I haven't had any problems from moreover.com. They seem like a pretty good, reliable source. Although I suppose I should probably add some error handling in case it can't connect to their server.

JJR512 07-15-2002 06:03 AM

(Post edited because of changes to the code.)

This hack uses only one new query when showing a forum, and that query is ONLY used if that forum is getting a newsfeed. Thanks to FireFly for showing me how to do that. :)

Smoothie 07-15-2002 06:42 AM

JJR512-

Thanks for the info. BTW, in the instructions .txt file, you say:
Quote:

Note regarding the next three queries:
but you have only 2 listed below that. I'm thinking it was the one above, and the 2 below? One that started with:
Quote:

INSERT INTO settinggroup
and the other 2 that started with:
Quote:

INSERT INTO setting
All 3 should use the same number?

JJR512 07-15-2002 06:48 AM

Yes, sorry about that, I put that note in the wrong spot.

xug 07-15-2002 07:05 AM

JJT512, you have showed us again what a great 'hacker' you are.

Thanks for this great hack, one word : SUPER.

In note to a posting about slowing down, I have the feeling that it slows my forum down for about one or two seconds, which is in my eyes not a problem at all.

xug 07-15-2002 07:55 PM

I found a small bug and can't solve the problem myself.

When you look at the news that is presented like :

HiTech gets Aces High again! From: ConsoleDomain Jul 13 2002 3:24AM

and want to select the news link source, so in this sample above here it would be 'ConsoleDomain' main website you get an error because the link that will be projected is like :

http://www.gamesdomain.com%20target=/

So the taget function is not properly coded and can't figure it out myself, to me the coding looks good, but hey, I'm a dunno ;)

Please help.

JJR512 07-15-2002 08:22 PM

Sorry about that; I left a closing quote out of an <a href...> tag in the forumnewsbit template.

In that template, find this:
Code:

<a href="$forumnews[sourceurl] target="_blank">
Change it to this:
Code:

<a href="$forumnews[sourceurl]" target="_blank">
I will update the attachment shortly, but if you already have v1.1a, you do not need to download it again, as this is the only fix.


All times are GMT. The time now is 12:18 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.01111 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_code_printable
  • (3)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