vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Add-On Releases - News in Portal module for vBCMPS (https://vborg.vbsupport.ru/showthread.php?t=200290)

Robru 01-01-2009 08:11 PM

Thanks, I think that's very usefull ;)

Spank 01-01-2009 08:14 PM

Quote:

Originally Posted by M4GN3T (Post 1698726)
If you use the standard news module it redirects every newspost to your forum, which doesn't give you a 'website' feeling. But by adding this phrase:

<span class="smallfont"><a href="{1}?pageid=[page identifier]&{3}t={2}"><b>[read more]</b></a></span>


All your newsposts gets loaded inside the portal, something vBCMPS never accomplished.

For example;
Redirect with vBCMPS: http://www.ps3-sense.nl/showthread.p...45.html?t=5445
With this module: http://www.ps3-sense.nl/?pageid=nieuws&t=5445

That's pretty good, thanks for clearing that up. I'll install soon.

rm-rf 01-02-2009 02:28 AM

Installed 2 times,,,, will not show any threads from my forums.

vba 3.1.0

vb 3.7.4

rm-rf 01-02-2009 03:10 AM

Ok I figured it out. there is a line in the PHP file you need to edit to tell the module which forums it is allowed to use threads from. Got it working now.

Alfa1 01-02-2009 02:49 PM

Does this comply with Google news qualifications?

rm-rf 01-02-2009 09:27 PM

This mod needs a preview module. I have sort of faked it on my site by making a hidden preview thread. I took a look at the news.php and am not quite sure how to pass the generated [read more] as a link to this portal mod.

this is the line out of news.php that I would need to modify to make the [read more] links go to the new page.

Code:

$news['message'] .= '...' . construct_phrase($vbphrase['read_more'], $vbulletin->options['bburl'], $news['threadid'], $vbulletin->session->vars['sessionurl']);
Any php gurus out there know how to recode that up to the 'threadid' to pass this url
http://www.microracing.com/?pageid=columns&t=5080

to see how I using this mod check http://www.microracing.com/index.php...ticles_columns

M4GN3T 01-05-2009 04:43 PM

Quote:

Originally Posted by rm-rf (Post 1699733)
This mod needs a preview module. I have sort of faked it on my site by making a hidden preview thread. I took a look at the news.php and am not quite sure how to pass the generated [read more] as a link to this portal mod.

this is the line out of news.php that I would need to modify to make the [read more] links go to the new page.

Code:

$news['message'] .= '...' . construct_phrase($vbphrase['read_more'], $vbulletin->options['bburl'], $news['threadid'], $vbulletin->session->vars['sessionurl']);
Any php gurus out there know how to recode that up to the 'threadid' to pass this url
http://www.microracing.com/?pageid=columns&t=5080

to see how I using this mod check http://www.microracing.com/index.php...ticles_columns

Just search for the read more phrase and replace it by this:

Code:

<span class="smallfont"><a href="{1}?pageid=columns&{3}t={2}"><b>[Read more]</b></a></span>

Volvoholic 01-13-2009 09:11 AM

I have the same problem. Can't get any threads to show.

Where can I find the news.php file? Many thanks for putting up with a newbie

Thanks.

Infopro 01-13-2009 12:41 PM

What's this mean?

Quote:

Database error in vBulletin 3.8.0:

Invalid SQL:

SELECT
post.*, post.postid, post.userid, post.username, post.title, post.dateline, post.pagetext,
thread.forumid, thread.views, thread.replycount, user.*

FROM post AS post
LEFT JOIN user AS user ON(user.userid = post.userid)


LEFT JOIN thread AS thread ON(thread.threadid = post.threadid)
WHERE post.threadid =
AND post.visible = 1
ORDER BY post.dateline asc;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND post.visible = 1
ORDER BY post.dateline asc' at line 11


MarkFoster 02-05-2009 12:33 PM

Quote:

Originally Posted by Infopro (Post 1710900)
What's this mean?

I got same problem.


All times are GMT. The time now is 01:42 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.01172 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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