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)
-   -   Simple newsportal / thread overview to add to your board... (https://vborg.vbsupport.ru/showthread.php?t=38334)

BigJohnson 06-08-2002 04:19 AM

Sorry everyone . I dont no what is wrong with me today but i tried installing this and i cant get it to work. I hacked everything to what it said in the first post. I just didnt do the PHPmyadmin stuff yet. What query do i actual put in?. I tried some but i keep getting errors in my PHPmyadmin saying it doesnt no what isfirst means. What do i do?

KuraFire 06-08-2002 09:31 AM

run this query on your database:

ALTER TABLE post ADD isfirst char(1) NOT NULL DEFAULT 'N';

and with the newthread.php and newreply.php hacks, it should work. However, it'll only work once you start making new Newsthreads, unless you edit a bunch of posts that are currently the first posts of your existing newsthreads....

chris frolic 06-11-2002 12:19 AM

great hack, perfect for my needs! I removed the "threads" part of it, so its just a simple news updates for my main page. Thanks alot.

Ryangel 07-12-2002 12:14 AM

hmmm I'm stumped...

So what do i need to do so that my users cant see the "Admin boards" listed on the Latest threads?
Thanks.

KuraFire 07-12-2002 12:45 AM

The newest edition of the zip (first post attachment - clear your cache!)
has permissions support built-in, so users will only see what they're
allowed to see.

Ryangel 07-12-2002 03:49 AM

Quote:

Originally posted by KuraFire
The newest edition of the zip (first post attachment - clear your cache!)
has permissions support built-in, so users will only see what they're
allowed to see.

hmm i just downloaded it on 9 July 2002. Has it been updated?
Maybe it doesnt work because the file is not in the root directory .... I did link the path to global correctly though...

KuraFire 10-02-2002 10:02 AM

I think you need to re-download it then...

I don't know if it'll work outside the root of the vB. I've not tested it there and so far only heard that others couldn't get it to work outside of the root, so... :/

Automated 12-24-2002 08:10 AM

nice mod/hack/addition whatever this would be classed as!

[high]* Automated clicks install :p[/high]

dgmayor 01-06-2003 06:22 PM

Here's a question for ya. Is there a way to have it call the templates from a style other than the Default? Maybe by way of passing a variable in the url or something?

Reason being, is that I want to pull my news from a forum and have it display on my site, and it needs to match the site. But the thing is, it's not the "main" portion of the site.

Basically my site breaks down like this:

Index
|---Portion 1 (Guild/clan page for Game #1)
| |--Forum Category 1
|---Portion 2 (Guild/clan page for Game #2)
| |--Forum Category 2
|---Portion 3 (Guild/clan page for Game #3)
| |--Forum Category 3
|
|--Forum Home

If that makes sense. Basically each category has a different style, and thus the news will need to pull form different forums from different categories and output in different styles. Now if I have to have 3 seperate copies of newsportal.php for each mini site, then fine, but how can I have it pull from different headers? I suppose if I had 3 seperate copies of newsportal, I could hardcode 3 different template names that each contained 3 different styles, but I'm sure there can be an easier way to do this?

KuraFire 01-07-2003 02:47 PM

you mean, you want it to _overrule_ the Style set that the User has picked?


All times are GMT. The time now is 11:13 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.01949 seconds
  • Memory Usage 1,735KB
  • 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)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