Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
News in Portal module for vBCMPS Details »»
News in Portal module for vBCMPS
Version: 0.1beta, by M4GN3T M4GN3T is offline
Developer Last Online: Dec 2012 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.7.x Rating:
Released: 12-30-2008 Last Update: Never Installs: 15
Re-useable Code Additional Files Translations Is in Beta Stage  
No support by the author.

-! News in Portal Module For vBCMPS !-

-! Thanks to Oyadus, M4GN3T and Dexter 145 ! -

This is for use with the vBadvanced Portal not the vBCMS!

Hi all,

This is my first mod here on vB.org. I'm not really experienced in coding for vBulletin but i did achieve something i wanted to. I created a module which basically loads a news topic out of your forum within the vBCMPS portal. This gives the website a better look instead of everything looking forum-based.

I would also like to say that everyone is free to add or enchance the script, the only thing i ask is upload the one you modded/enchanced here in the topic .

Demo; http://www.ps3-sense.nl/?pageid=nieuws&t=5445

Install:

1)
Upload all contents in the upload folder.

2) Go to the admincp of your vBulletin installation and navigate to the vBCMPS tab. Click on 'Add Page' and select Module page.

Settings for page;

Page title: news
Page identifier: news

now save.

3) Now go to the vBCMPS tab again and hit 'Add module', now choose for PHP File Module. Under file to include choose news_in_portal.php

Settings for module;

Module title; Just type something
Module parent; none
Initialize BB Code Parser; yes
Initialize Forum Permissions; yes
Clean file output; yes
Use Module Wrapper Template; no

4) Now place the module on the page you created @ step 2.

5) Type the following url in the browser;

http://www.your_forum.com/?pageid=[Page identifier (step2!)]&t=[Thread number]

6) For a demo check out here:

http://www.ps3-sense.nl/?pageid=nieuws&t=5445

Show Your Support

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

Comments
  #22  
Old 02-12-2009, 09:23 AM
nectons nectons is offline
 
Join Date: Nov 2007
Location: GREECE
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

me too
Reply With Quote
  #23  
Old 04-06-2009, 12:11 PM
cory_booth cory_booth is offline
 
Join Date: Jul 2006
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Infopro View Post
What's this mean?
This is because you left off the thread = t=???
You must call this script with a thread indicator
Reply With Quote
  #24  
Old 04-06-2009, 12:12 PM
cory_booth cory_booth is offline
 
Join Date: Jul 2006
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Important note left out of the instructions:
Line 25 in the news_in_portal.php file.
Update to reflect your forums.
Reply With Quote
  #25  
Old 04-06-2009, 12:14 PM
cory_booth cory_booth is offline
 
Join Date: Jul 2006
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any chance with the following updates?

1. Add attached images

2. Add Multi-page support
Reply With Quote
  #26  
Old 05-31-2009, 01:48 AM
Alex LD Alex LD is offline
 
Join Date: Aug 2008
Location: Iowa
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Database error in vBulletin 3.7.6:

Invalid SQL:

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

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


LEFT JOIN vbthread 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
A little help please??
Reply With Quote
  #27  
Old 07-19-2009, 12:21 AM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wondering the same
Reply With Quote
  #28  
Old 07-19-2009, 12:37 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alex LD View Post
A little help please??
Did you see this reply just above your post?

Quote:
Originally Posted by cory_booth View Post
This is because you left off the thread = t=???
You must call this script with a thread indicator
Quote:
Originally Posted by MissKalunji View Post
wondering the same
About the above??? It's simple, if you don't call something right then you see a db error.
Reply With Quote
  #29  
Old 07-19-2009, 01:01 AM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

my page comes out blank

http://www.dancehallareaz.com/index....e=news&t=34761
Reply With Quote
  #30  
Old 07-19-2009, 01:05 AM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

never midn i get it but it's not showing anything like what he has...* lost*
Reply With Quote
  #31  
Old 07-19-2009, 01:28 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MissKalunji View Post
never midn i get it but it's not showing anything like what he has...* lost*
Demo

Code:

Code:
http://www.dancehallareaz.com/index.php?page=news&{t}=34761
Did you delete the thread? Specify another one and check it, not familiar w/ this mod but from what I've read you must use the {} symbols too !
Reply With Quote
Reply


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:42 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.07058 seconds
  • Memory Usage 2,311KB
  • 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
  • (1)bbcode_code
  • (6)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
  • (3)pagenav_pagelink
  • (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