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)
-   -   Logician NEWS: Drag Any Message to Your Main Page (https://vborg.vbsupport.ru/showthread.php?t=39278)

lasto 09-19-2003 12:19 AM

yep ok but u still need to do it to phpheader

i aint installed it m8 so only going off a quick read of the install instructions.

But u deffo missing some tables thats for sure

copyninja 09-19-2003 12:24 AM

ehh.. i did it in the phpheader.. and i know im missing the tables ... i guess ill wait for Logician to respond...

Logician 09-19-2003 09:58 AM

Quote:

"mySQL error:Table 'db-name.post' doesn't exist" ..
Make sure you edited this section in phpheader.php file correctly:

PHP Code:

## Username and password to log onto your MYSQL database server
$dbusername='test'//MYSQL username
$dbpassword='pass'//MYSQL password

## Name of the MYSQL database that vbulletin data exits. 
$dbname='testdb'

Especially make sure you entered dbname correctly because the error indicates that the name you entered there is not your vbulletin database. You can check "forum/admin/config.php" to make sure what database is your vb is using.

Quote:

I use a portal system where everything has a set place in boxes etc - but in these boxes i can enter any html code i want and it works.

Now if i install this hack - i know u can mark certain posts to be shown on a front page but what commands are used on the front page to actually call this in ??
This is hard to answer. You may try to apply STEP 2 into your portal file and this may work but there is no guarentee because you are now trying to incorporate this hack to an alien script. There might be unexpected problems: For example some function names or variables names in both scripts can be same and they might clash etc.

copyninja 09-19-2003 10:20 AM

O ok so im supposed to you the same database the vB is using? ... damn im dumb lol.. i made a whole new databse for this lol, i'll change it when i come home today afterschool.

copyninja 09-19-2003 10:41 AM

ok i did what you said...

and i wrote several news threads....and when i look @ where the news is supposed to go to.. it just says

"News has been compiled in 0.0143 seconds."

and it shows no news though/

Logician 09-19-2003 10:57 AM

Quote:

Originally Posted by copyninja
ok i did what you said...

and i wrote several news threads....and when i look @ where the news is supposed to go to.. it just says

"News has been compiled in 0.0143 seconds."

and it shows no news though/

Check your phpheader.php very carefully and make sure every config applies to your board.

For instance your problem usually happens because you didn't edit the part:
PHP Code:

## News Posters' Names
## You set here which users can post news. Use their forum names and be careful about caps.
## if you want all members to post news (of course if they know the relevant tags) simply put // just in the begining of the line
$news_posters=array("Admin""Poster2"); 


copyninja 09-19-2003 11:00 AM

yes i edited that ...

PHP Code:

## News Posters' Names
## You set here which users can post news. Use their forum names and be careful about caps.
## if you want all members to post news (of course if they know the relevant tags) simply put // just in the begining of the line
$news_posters=array("Rocky""Poster2"); 


Logician 09-19-2003 11:07 AM

and checked other phpheader.php options too? Say:
PHP Code:

## Forum IDs open to News Posting
## Script will compile the news from these forums only. 
## To learn what a forum's id is, login CP, go to Forums&Moderators/Modify, Put your mouse ON forum name you want to learn its ID
## and you'll see the ID number in IE's taskbar. 
## if you want all forums to be open to news posting simply put // just in the begining of the line
$news_forums=array("1"); 


copyninja 09-19-2003 06:51 PM

Thank you very much .. i just need to change the way the news looks when posted, thank you for all the quick reposnses :)

copyninja 09-19-2003 08:06 PM

o damn sorry to double post but ... my concern is not post count of these boards lol neways...

i would like to change the format of the date in 2 ways ..

i would delete the part that says "Past Date:" because i dont need that part...

also i would like the date to read (random date) .."9/18/2003 at 'time'"

ALSO this right here may be asking alot lol so if it is you dont have accomodate this request, anyway you think you make it so that the time is in a 12hour format and then you can use am or pm ...


All times are GMT. The time now is 08:12 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.01228 seconds
  • Memory Usage 1,750KB
  • 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
  • (4)bbcode_php_printable
  • (3)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