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)
-   -   Logician NEWS: Drag Any Message to Your Main Page (https://vborg.vbsupport.ru/showthread.php?t=39278)

Logician 07-23-2002 07:48 PM

Quote:

Originally posted by inetd
Logician, this hack can work with WebTemplates?
nope inetd, you cant integrate this script into a webtemplate. However you can create a webquery inside your webtemplate which derives news from your vb db. Of course news compiling features of a webquery will not be as advanced as Logician News script, but can do the trick, if you dont have so high expectations.

Ryangel 07-25-2002 01:21 AM

using 2.2.6

Everything works fine :)

except that the text that i tag with [news][/news]
when i go back to view the thread, it doesnt disply.. as though it disappeared.

I will recheck code now. Just wondering if anyone had the same experiance or know a solution.

Ryangel 07-25-2002 02:13 AM

ok I added {param} in all the right places in the new vbcodes and it worked!

Did i get a bad .html install file? cuz i found it strange.

Logician 07-25-2002 05:59 AM

Quote:

Originally posted by Ryangel
except that the text that i tag with [news][/news]
when i go back to view the thread, it doesnt disply.. as though it disappeared.

lol Ryangel but this is the default behaviour of the hack. :glasses: As mentioned in the instructions ALL hack tags (ie. [news] [summary] [intro] [options]) are INVISIBLE in the original thread.

[news] tag only tags your message as a news to notify the hack and helps you to choose a custom news title for your message. It doesnt have any other usage (especially in the thread) so I dont get why you want to make it visible?

Ryangel 07-25-2002 06:02 AM

Ohhhhhhhhhhhh.

How silly of me. *whacks self*
:cross-eyed:

Ryangel 07-25-2002 06:17 AM

Thanks for the clearification logician!

and again, great addon! :)

miho 08-07-2002 05:22 AM

Is it posible to link from the news (read more...) to the orginal posting and not only to the thread. I think it is not so easy to find the right message if there are many messages in an thread.

Must be something in this line:

$news[$i][link]='[<a href="'.$forumlocation."showthread.php?threadid=". $news[$i][threadid]."&postid=".$news[$i][postid].'">'.$readresttext.'</a>]';

Thanks Michael

Logician 08-21-2002 07:33 AM

Quote:

Originally posted by miho
Is it posible to link from the news (read more...) to the orginal posting and not only to the thread.
Isnt it already so?

miho 08-21-2002 01:58 PM

No, not in vb version 2.2.3.

Logician 08-21-2002 05:31 PM

Quote:

Originally posted by miho
No, not in vb version 2.2.3.
Did I get you right:

When [summary] or [intro] tags are used in a news message you want "Read More" link to link the news message itself which [news] tag is used, not the thread itself? If it is so, this is already the default hack behaviour and it's not related to the vb version you are using.

If this is not working for you, you mignt be designed your news HTML ($newstablesample) incorrectly in "phpheader.php" file in options. You need to use ??NEWSLINK?? variable for this link.

If you can post your $newstablesample and the link of your webpage which is not working correctly, I can help more..


All times are GMT. The time now is 01:18 PM.

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.01969 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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