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)
-   -   My Simple Portal v0.1 (https://vborg.vbsupport.ru/showthread.php?t=26973)

08-30-2001 10:00 PM

My Simple Portal v0.1

okay, this is my cobbled together collection of various code bits and whatnot
that i've consolidated into one nice script. i was looking for something that
could provide me with a basic 'portal' page, but without the dependencies or
over-complexity of something like vbportal or nuke2vb (although those are very
good). i've been working on this for awhile, and i haven't kept track of where
i got all of the code bits, so if you see your code in there, let me know and i
will give you credit when i write some *real* documentation for this script. :)
the ones i can remember as of this moment are: PluhNews, OPNews, and some bits
and ideas from tubedogg, wluke and mister.

instructions:

1. edit the portal-config.php file to reflect your preferences, as well as
all relative paths to your forums. this file is commented, so just follow the
instructions there.

2. edit the portal.php file. look for <!-- stuff --> tags, in particular.

3. edit the portal.css file to reflect your site's color scheme.

4. upload the files anywhere you wish, so long as your relative paths are
defined correctly in the portal-config.php file.

5. enjoy!

demo server is down for the moment.

comments, suggestions and flames are welcome.

Joshua McNeese


joecrow 08-31-2001 02:18 PM

its very nice

FreshFroot 08-31-2001 02:22 PM

Really nice...I love the DHTML nav inside the forums!

pipi 08-31-2001 04:54 PM

i got some problem.

Who's Online
Can't select database

jmcneese 09-01-2001 08:48 AM

pipi,

do you only get that error with Who's Online? strange if so, since all the functions use the exact same method of database access...

can you give me a URL where you put your portal up?

tweak 09-01-2001 10:13 AM

Sorry im Confuzed is the portal the MENU on the side?

Mega 09-01-2001 11:09 AM

hmm

Quote:

Fatal error: Failed opening required './admin/config.php' (include_path='') in /***********/forum/global.php on line 72

jmcneese 09-01-2001 12:57 PM

Quote:

Originally posted by Tweak
Sorry im Confuzed is the portal the MENU on the side?
tweak,

it's a portal in the sense of providing you with a front page that displays interesting information from the forums, as well as pulling information from a specific news forum. if you take a look at the demo site you can see how this can be expanded/extended into a nice front-end to your forums.

it is intended as a simple alternative to vbportal or nuke2vb, both of which may be too feature-rich for some people's requirements.

as far as the 'menu' you mentioned, the only one i am aware of on the demo site is the 'slide-in' menu that is implemented in DHTML. if there is enough of an interest in it, i might clean it up and make a nice installation instruction to show how to integrate it into vb (as it is completely dynamic, in that it builds menus depending on what usergroup the member is).

jmcneese 09-01-2001 01:02 PM

Quote:

Originally posted by Mega
hmm

Fatal error: Failed opening required './admin/config.php' (include_path='') in /***********/forum/global.php on line 72

Mega,

double-check and make sure that your $forumpath and $adminpath variables are correct in portal-config.php. note that they are relative paths, and you shouldn't include a trailing slash.

also, did you put the files in the same directory as vb? if so, i wouldn't advise it.

pipi 09-01-2001 02:00 PM

error please help
Fatal error: Call to undefined function: bbcodeparse2() in /home/faster/public_html/portal.php on line 319


All times are GMT. The time now is 12:32 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.01123 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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