vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   News Box v5.1 (https://vborg.vbsupport.ru/showthread.php?t=60062)

dmogg 01-18-2004 05:02 AM

I got it, thanks anyway guys :)

VBDev 01-18-2004 08:38 AM

@dmogg : OK ;)
@anabolicedge : idem ;) HTML isn't allowed, just bbcode but if you really want it I can make a small modification to allow HTML

@Dragon_IBA : Thx :)

HurricaneWolf 01-22-2004 05:46 PM

Im sure this is a nice hack judging from what I have seen so far. Unfortuantely when I tried to install it, the bottom bar has disappeared, the news doesn't scroll, and it sits at the far right corner, mind you, on top of the news table.

I went thru the instructions twice step by step and I keep getting the same thing. I originally thought it may be a conflict with another hack or two I have installed, yet I'm unsure.

Anyone have any ideas?

HurricaneWolf 01-24-2004 03:48 AM

hmmm, I guess not.

Thx. anyway.

DaQuixlet 01-24-2004 06:08 PM

I cant seem to find the ADMIN HELP MANAGER -

I added the "$debug = 1;" into my config.php , but still nothing ?

All it does is add "Developers Options" the side - but no ADMIN HELP MANAGER

Lee Wisener 01-24-2004 10:58 PM

works really well, thanks.

jaliam 01-27-2004 12:54 PM

I installed everything and followed every instruction but what I got when I go back to my index, it shows me this...

Quote:

Parse error: parse error, expecting `')'' in /home/****/public_html/index-error.php on line 39
Can you please help?

This occurs when I added the following lines to index.php...

Quote:

$globaltemplates = array(
'calendar_smallmonth_day',
'calendar_smallmonth_day_other',
'calendar_smallmonth_header',
'calendar_smallmonth_week',
'forumhome_loggedinuser',
'forumhome_subforumseparator_post',
'forumhome_shoutbit',
'
'news',
'news_news',
'news_fin'

'index',

wowiee 01-27-2004 02:44 PM

how do i do the query thing for my database

VBDev 01-27-2004 02:51 PM

Quote:

Originally Posted by jaliam
I installed everything and followed every instruction but what I got when I go back to my index, it shows me this...



Can you please help?

This occurs when I added the following lines to index.php...

Replace with

Quote:

$globaltemplates = array(
'calendar_smallmonth_day',
'calendar_smallmonth_day_other',
'calendar_smallmonth_header',
'calendar_smallmonth_week',
'forumhome_loggedinuser',
'forumhome_subforumseparator_post',
'forumhome_shoutbit',
'news',
'news_news',
'news_fin'
'index',

@wowiee : I don't know, it depends of your host ... haven't you an access to php my admin on their server ?

sypher_again 01-27-2004 03:00 PM

good taff la france ^^ thanks (merci les potos ;) )

wowiee 01-27-2004 03:26 PM

yeah i do but when i go to query sql what do I do? what do I sleect from a dropdown menu that lists all the directories in my vbulletin db?

jaliam 01-27-2004 06:22 PM

Quote:

$globaltemplates = array(
'calendar_smallmonth_day',
'calendar_smallmonth_day_other',
'calendar_smallmonth_header',
'calendar_smallmonth_week',
'forumhome_loggedinuser',
'forumhome_subforumseparator_post',
'forumhome_shoutbit',
'news',
'news_news',
'news_fin'
'index',
I was able to implement this change, vbDev, but the news isn't displaying at all. I already activated the display news box on forum but I do not see anything. How can I make it show? Thanks!

wowiee 01-27-2004 06:50 PM

i put in debug whatever and there isnt anything there at all no developer thing nothing, now when i uploaded my RC3 vbulletin there was no cofig.php for some reason, in rc3 where am i supposed to put it?

jaliam 01-27-2004 07:19 PM

Quote:

Originally Posted by wowiee
i put in debug whatever and there isnt anything there at all no developer thing nothing, now when i uploaded my RC3 vbulletin there was no cofig.php for some reason, in rc3 where am i supposed to put it?

Wowie, config.php is found in the includes folder. Check in there first. Thanks!

wowiee 01-27-2004 07:48 PM

i did everything fine but then when i go to my forums, i get this

Quote:

Parse error: parse error, expecting `')'' in /home/biohazar/public_html/forums/index.php on line 52

jaliam 01-27-2004 08:24 PM

Wowie, just copy this replace what you have in your /forums/index file. It should work...

Quote:

$globaltemplates = array(
'FORUMHOME',
'forumhome_birthdaybit',
'forumhome_event',
'forumhome_forumbit_level1_nopost',
'forumhome_forumbit_level1_post',
'forumhome_forumbit_level2_nopost',
'forumhome_forumbit_level2_post',
'forumhome_lastpostby',
'forumhome_loggedinuser',
'forumhome_moderator',
'forumhome_pmloggedin',
'forumhome_subforumbit_nopost',
'forumhome_subforumbit_post',
'forumhome_subforumseparator_nopost',
'forumhome_subforumseparator_post',
'news',
'news_news',
'news_fin'
);

wowiee 01-27-2004 08:29 PM

i did that then i got this after turning on the news marquee when trying to access the forums:

There seems to have been a slight problem with the BioHazard3D.com Forums database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

Database error in vBulletin 3.0.0 Release Candidate 3:

Invalid SQL: SELECT * FROM news ORDER BY newsid
mysql error: Table 'biohazar_vbulletin.news' doesn't exist

mysql error number: 1146

Date: Tuesday 27th of January 2004 02:30:28 PM
Script: http://biohazard3d.com/forums/index.php
Referer: http://www.biohazard3d.com/
Username: RadioActive
IP Address: 67.71.120.32

jaliam 01-27-2004 10:14 PM

Quote:

Originally Posted by wowiee
i did that then i got this after turning on the news marquee when trying to access the forums:

There seems to have been a slight problem with the BioHazard3D.com Forums database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

Database error in vBulletin 3.0.0 Release Candidate 3:

Invalid SQL: SELECT * FROM news ORDER BY newsid
mysql error: Table 'biohazar_vbulletin.news' doesn't exist

mysql error number: 1146

Date: Tuesday 27th of January 2004 02:30:28 PM
Script: http://biohazard3d.com/forums/index.php
Referer: http://www.biohazard3d.com/
Username: RadioActive
IP Address: 67.71.120.32

Wowie, you must first create that table you are running before it can be executed. Maybe others can help you out on this as I'm not very good with PHPMyAdmin and MySQL. Sorry.

maverick1236 01-28-2004 02:45 PM

anyway you can get the news ticker to only show 4 guests?

M@rkus 01-31-2004 12:54 PM

@VBDev:

Nice Hack, installed!

But, I ve changed the some sets into phrases, for example the menu of news. Can I also change the other ones to phrases without any probs? Like the whole menu and the red sentence showing up to guests??

VBDev 01-31-2004 12:55 PM

Quote:

Originally Posted by M@rkus
@VBDev:

Nice Hack, installed!

But, I ve changed the some sets into phrases, for example the menu of news. Can I also change the other ones to phrases without any probs? Like the whole menu and the red sentence showing up to guests??

@M@rkus : Yes you can change phrases without problems ;)

M@rkus 01-31-2004 12:56 PM

Quote:

Originally Posted by VBDev
@M@rkus : Yes you can change phrases without problems ;)

okay, ill change everything in phrases, if you want to, ill complete the .txt-file and you can upload it as english/german - Hack ;)

M@rkus 01-31-2004 01:37 PM

next question: is there any chance to show up the newest user?!

Sephiroth 9999 02-03-2004 04:48 PM

Quote:

Originally Posted by M@rkus
@VBDev:

Nice Hack, installed!

But, I ve changed the some sets into phrases, for example the menu of news. Can I also change the other ones to phrases without any probs? Like the whole menu and the red sentence showing up to guests??

Nice hack! :) I have one request though... it would be better if instead of all the news piling up underneath each other, they just scroll continuously through a cycle. eg., news 1 scrolls, 2 second wait, then news 2 arrives.

I like everything to look neat and tidy on my forum. ;) If you aren't going to implement this - do you know how I could?

Thanks a bunch. :)

VBDev 02-03-2004 06:30 PM

@M@rkuS : I didn't try but put
PHP Code:

$newusername 

in a news, the newest user should scroll in the news list ;)

@sephiroth : Remove the
PHP Code:

<br

grom the news_news template ;)

I'll try these 2 mods now and say you if all is OK ;)

VBDev 02-03-2004 06:53 PM

@sephiroth : Replace all then news_news template with :

PHP Code:

$new[comments]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp

You can add
PHP Code:

&nbsp

as much as you want ;) It just adds a space


@M@arkus : It doesn't work but it wasn't done for this ;)
There should be a solution by modifying the code, but it should work by adding this

PHP Code:

Welcome to our newest member $newusername<br /> 

At the end of the news template ;)

Sephiroth 9999 02-04-2004 05:33 AM

Quote:

Originally Posted by VBDev
@sephiroth : Replace all then news_news template with :

PHP Code:

$new[comments]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp

You can add
PHP Code:

&nbsp

as much as you want ;) It just adds a space


@M@arkus : It doesn't work but it wasn't done for this ;)
There should be a solution by modifying the code, but it should work by adding this

PHP Code:

Welcome to our newest member $newusername<br /> 

At the end of the news template ;)

Thanks for the quick reply VBDev. :) Works pefectly!

ronb 02-07-2004 06:41 PM

will this hack work on version 2?

VBDev 02-07-2004 10:24 PM

Quote:

Originally Posted by ronb
will this hack work on version 2?

@ ronb : there's already a version of this hack for vb2 since a long long time, this was MY very first hack for vbulletin :) This hack must be 3 or 4 years old :D

Search 'news' in hack for vb2 and you'll find it

ronb 02-09-2004 02:29 PM

i'll do that. thanks

enginethatcan't 02-13-2004 01:35 AM

I did everythign it said...I see the admincp menu for the news, but no news box! I already added the last part to the forumhome template, and I uploaded the news file, I also clicked "yes" for show news

enginethatcan't 02-13-2004 06:35 PM

bump

bigreefer 02-14-2004 11:25 AM

Hi, nice hack but how can i make that guests only see the "You are not registered, click it to do it now !" Text.
My Guests see that

ZeroZone 02-15-2004 01:36 PM

Hi VBDev, could you please make an option that let admins disable the marquee of the text and add another option (below 'comments') that let admin specify the url to the news. I ask for this add-on because I used to export news from some important threads and I want my members can easily go to the news by clicking the text.
Thanks in advance

VBDev 02-16-2004 01:08 PM

@bigreefer : Use conditional in your template news_news, it's the best thing to do this and the faster ;)

Code:

<if condition="$bbuserinfo[usergroupid]!=1>Template news_news</if>
@zerozone : I didn't understood what you wanted to do. Isn't it possible using BBCODE ?!

KamuiX 02-16-2004 03:56 PM

Took a little work to get it to integrate into my site, but it's a great hack and is working nicely. :D

ZeroZone 02-16-2004 05:01 PM

I could not use the BBcode for this hack. Whenever I put a BBcode (like url, img....) in the comments it didn't show up in the news box (the script doesn't parse the bbcode)
One more question: I don't want to put the $news_affichage in FORUMHOME template but I want it to be in HEADER. I did put it the HEADE but it didn't show up. What should I do?

KamuiX 02-18-2004 02:15 AM

Ahhhh Just noticed a flaw when checking the hack with Mac's Safari browser. The text box stretches for however much news is contained within... gah.

Any idea how to have browser detection for this, so that either the news hack isn't there for Safari, or at least closed?

If you have Safari and want to see the occurance, my forum's here: http://www.animegamer.com/forums/index.php

Mr. Brian 02-23-2004 12:49 PM

You've got to reload your page.

Quote:

Originally Posted by DaQuixlet
I cant seem to find the ADMIN HELP MANAGER -

I added the "$debug = 1;" into my config.php , but still nothing ?

All it does is add "Developers Options" the side - but no ADMIN HELP MANAGER


red_baron2000 02-26-2004 12:33 AM

first thank you for this great hack :)
i've installed it and it works great..however i am having troubles with some skins ..it just stretshed them to max..i have to place it over the board banner so the tables keep looking ok see the the 2 pictures bellow ..any idea what is wrong here?
thanking you in advance.


All times are GMT. The time now is 08:52 PM.

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.01654 seconds
  • Memory Usage 1,839KB
  • 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_code_printable
  • (8)bbcode_php_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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