vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - vBonjour - Portal System (https://vborg.vbsupport.ru/showthread.php?t=133757)

Lionel 12-15-2006 10:42 AM

I had never been able to open that demo page, and I have been trying for days now.

calorie 12-15-2006 03:10 PM

IMO all the add-ons should be in the same product. They can easily be turned on/off by going to the Plugin Manager. Also the main portal.php file has some issues:
  • define('NO_REGISTER_GLOBALS', 1); // this is no longer used
  • there is no portal_articlelist template
  • if (forumid1) { // this is missing the $ on the variable
  • if (forumid2) { // this is missing the $ on the variable
  • $news['pagetext'] = $parser->do_parse($news['pagetext'], 1, 1, 1, 1); // this is set to parse HTML
  • these should be initialized: $currentsection, $portal_articlebit, $portal_left_column, $portal_right_column
  • $getnews1 and $getnews2 are basically the same query so try WHERE t.forumid IN ($forumid1,$forumid2)
  • vB doesn't store slashes so stripslashes is not needed
  • look into strip_tags, htmlspecialchars_uni, or use title_clean if available instead of the preg_replace regexp
  • is there a need to GLOBAL $parser; for something
  • what setting is this: $vbulletin->options['vbcms_totalrows']
  • $rownum serves no point as the query already has a limit
  • use $navbits[''] = 'Portal'; not with $parent and phrase the word Portal
  • eval('$portal_articlelist .= "' . fetch_template('PORTAL') . '";'); // this serves no purpose
The attached is an untested revision of the portal.php file, though it may need tweaks or fixes as well because it's untested, so it's up to you to test. Hope it helps. :)

peterska2 12-15-2006 03:19 PM

Cheers for that Calorie. :)

It needs some issues fixing, and is not recommended for use at the moment.

[high]* peterska2 adds it to the top of the to-do list[/high]

YeşiLMeN 12-15-2006 04:15 PM

Nice, Peter ;)

flyingmongoose 12-16-2006 05:37 PM

Is there a way to make it so that the news functions can pull from more than just 2 forums? (I have a category with 4 forums but I want to display all 4 of them as news posts, don't ask me why)

And is there anyway to get the combination to alternate back and forth? Not just, first forum news posts then second forums news posts, I'm talking first forum news post, then second, then first, or if more are involved (up to for, first forum news post, second forum news post, third forum news post, fourth forum news post, first forum news posts, etc.)

Any info or help on this would be great :).

peterska2 12-16-2006 10:02 PM

This is something I am looking into for the next build.

goga123 12-17-2006 06:05 PM

Can Anyone Help Me To Install Tht

Plz And Thanxs

peterska2 12-17-2006 09:33 PM

Quote:

Originally Posted by goga123 (Post 1140463)
Can Anyone Help Me To Install Tht

Plz And Thanxs

Contact me via PM please

Quantnet 12-18-2006 12:45 AM

Peter,
I'm looking forward to installing this on my live site in a week or so. I've been looking at VB CMPS for a while but never installed it or know what VBadvanced offers that you do not.

1) I assume your mod will use the default skin of the forum ? Will the header banner from the forum be on the front page ? I'm looking for something like we have here on Vb.org

2)Do you have mini calendar modules ? Current poll ? Today birthday ?

3) I mostly need latest 10 thread modules, mini-calendar, news, events, etc

thanks

TheBlackPoet 12-18-2006 01:09 AM

this portal is working great for me... i would like to know if a poll and small calendar could be developed... peterska2., you did a damn good job with this hack!


All times are GMT. The time now is 08:51 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.01344 seconds
  • Memory Usage 1,736KB
  • 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
  • (1)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