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)

VBDev 01-10-2004 10:00 PM

News Box v5.1
 
With this hack, you'll add on your board a news system that you control from the admin control panel. These news, you choose them, they appear on the forum in a box, with marquee text viewable for each member. They can be used, to display a general message to your members ...

you can insert VBCodes and smilies. You can choose to display or not the news box on the forum.

Improvment in comparison with VB2 version :
- Display of a special news if the user is unregistered. THe news is a link to the register form.
- Use of expand/collapse system to reduce the box. The position of the box is saved




Ce hack permet d'ajouter ou vous voulez sur votre forum un systeme de news que vous gerez via le CP, ces news c vous qui les choisissez, elles apparaissent sur le forum sous forme d'un texte deroulant visible par chaque membre. Elles servent en fait a faire passer un message a vos membres ...

Vous pouvez inserer du VBCode dans ces news et des smilies. Vous pouvez choisir via le CP admin d'afficher ou pas le systeme de news sur l'accueil du forum.

Amelioration par rapport aux precedentes versions VB2.xx :
- Affichage d'une news supplementaire si le visiteur n'est pas enregistr? lui disant qu'il n'est pas enregistr?, le texte est un lien qui lui permet d'acceder a la page d'enregistrement
- Utilisation du systeme expand/collapse pour reduite l'affichage de la boite de news avec enregistrement de la position de cette fenetre



Installation time : 15
Templates to modify : 1
Templates to add : 3
Files to upload : 1
Files to modify : 2
Phrases to add : 5
Query to run : 1


:devious:

[HIGH]This hack has been released by VBulletinDev's team : http://www.vbulletindev.net

Ce hack a ete realis? par la team de VBulletinDev et est telechargeable en FR sur http://www.vbulletindev.net[/HIGH]

apokphp 01-11-2004 03:17 PM

Got demo pics?

Got link to the .zip file?

Is this not ready? :)

VBDev 01-11-2004 03:22 PM

Ready now apokphp ;)

MGM 01-11-2004 03:32 PM

nice hack! I might use this after I make a couple template changes ;)

[high]* MGM clicks Install
[/high]

MGM out

P.Jackson 01-11-2004 03:38 PM

sounds good going to try this as it could be usefull :)

VampireMan 01-11-2004 03:42 PM

Slight problems installing this.

1:
in the admin panel, Options > Admin Help Manager add this topic (doesnt exist in unhacked vb3)

2:
Then Add New Setting Group and add this : (add new setting group how?)

I gave up at 2.
Can you add instructions for unhacked vb3's ?

MindTrix 01-11-2004 03:42 PM

Now that my friend, is beautiful :) Im going to use this soon, thank you.

Merci monsieur :)

Im so talented yet so young :rolleyes:

VBDev 01-11-2004 03:48 PM

Quote:

Originally Posted by VampireMan
Slight problems installing this.

1:
in the admin panel, Options > Admin Help Manager add this topic (doesnt exist in unhacked vb3)

2:
Then Add New Setting Group and add this : (add new setting group how?)


I gave up at 2.
Can you add instructions for unhacked vb3's ?

Add in your config.php

Code:

$debug = 1;
before the last ?>

VampireMan 01-11-2004 04:23 PM

ahh i was wondering , fixed the prob , thnks..

/me clicks install

/me also adds a admin only button to turn debug on/off

Zachery 01-11-2004 05:30 PM

you should state to how to turn debug on and off if its required :) also please note you SHOULD close your boards while running in debug :)

idwf 01-11-2004 05:47 PM

Quote:

Originally Posted by Faranth
you should state to how to turn debug on and off if its required :) also please note you SHOULD close your boards while running in debug :)

Nice... After a bit of moddin, I'll probbably use it. :)

Gio Takahashi 01-11-2004 05:48 PM

Hmm, I installed it but it doesn't seem to show up.

Heh I left my brain at home. NEvermind. It works good.

VBDev 01-11-2004 05:50 PM

Quote:

Originally Posted by Gio Takahashi
Hmm, I installed it but it doesn't seem to show up.

Activate the display ;)
It should work better so

Nmidia 01-11-2004 06:24 PM

I followed your instructions but I get this.

Also, was unable to add the phrase Position under Global as there was already one there. Any suggestions?

VBDev 01-11-2004 06:27 PM

Quote:

Originally Posted by Nmidia
I followed your instructions but I get this.

Also, was unable to add the phrase Position under Global as there was already one there. Any suggestions?


Respect this :

Varname : aff_new
Setting Group : Display news box ?
Title : Display news box
Description : This option allow you to display or not the news box on your forum
Option Code : yesno
Default :
Display Order : 1

!!!!!
The setting group already existed coz u've created it just before

Nmidia 01-11-2004 06:38 PM

Ok, re-did that last bit. I went to add the aff_new via the drop down options lsit, not the news option on the side. Once I used the icon on the left it worked. Now however, I have this problem : http://legionsofloki.com

Nmidia 01-11-2004 06:45 PM

Quote:

Originally Posted by Nmidia
Ok, re-did that last bit. I went to add the aff_new via the drop down options lsit, not the news option on the side. Once I used the icon on the left it worked. Now however, I have this problem : http://legionsofloki.com

i think that it is interfering with the code for the side bar. If I were to stick it inside some table code would that fix it?

Nmidia 01-11-2004 07:17 PM

Quote:

Originally Posted by Nmidia
i think that it is interfering with the code for the side bar. If I were to stick it inside some table code would that fix it?

Would it be a case of changing the table code in the news template so that it matches the code for the forum?

VBDev 01-11-2004 07:25 PM

Try modifying news template to adjust it with your "special" header ;)

SnowBot 01-11-2004 09:01 PM

Nice ticker tape add/news hack :)

thanks

dede1 01-11-2004 10:31 PM

Hello

so far I do not have everything to to run however with me come
a text to separate am it see picture grey.

Picture: http://www.dede1.ch/Bilder/Desktop.JPG

Someone where the error with me is white?

SnowBot 01-12-2004 02:38 AM

ok 3 small problems

1: when you want to delete a news post the options are
Are you sure you want to remove this news ?
Oui | Non

Where do i change this to
YES | NO?

2: I added the $news_affichage here

HTML Code:

<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
$headinclude
</head>
<body>
$header
$navbar
$news_affichage

But when i turn the option to show the news ON for some strange reason it centers everything, Forums headers, whois online, everything :(

3: Where can i edit the text font for the scroling news ?

proxyMX 01-12-2004 04:32 AM

is there any way to place a story with a link to a forum rather than marquees?

proxyMX 01-12-2004 04:34 AM

too many people are having problems with this, i recommend Beta status...

VBDev 01-12-2004 04:45 AM

@snowbot :
- I updated the .zip, just replace your news.php with the new one, I forgot to translate these 2 words ;)
- Add
Code:

</div>
at the end of the news_fin template, it should bo OK after ;) (I modify it in the zip too)
- To modify the text font, search in the news_news template :
Code:

$new[comments]
and replace by
Code:

<font face="...">$new[comments]</font>
@Proxy MX : I Don't understand what you want to do

danbc 01-12-2004 05:29 AM

"in the admin panel, Options > Admin Help Manager add this topic :"


Admin Help Manager?

Can?t seem to find that anywhere :(

SnowBot 01-12-2004 05:30 AM

THANKS thats sorted it :) just 1 last thing i forgot, how do i make it so the news strip is the same size as my forum width?

SnowBot 01-12-2004 05:34 AM

Quote:

Originally Posted by danbc
"in the admin panel, Options > Admin Help Manager add this topic :"


Admin Help Manager?

Can?t seem to find that anywhere :(

You will not unless you set debug mode, this was mentioned afew posts back

Quote:

Originally Posted by VBDev
Add in your config.php

Code:

$debug = 1;
before the last ?>

thats will sort it for you, REMEMBER to CLOSE you board before doing this and when done remove the debug code.

dede1 01-12-2004 05:40 AM

error

Picture: http://www.dede1.ch/Bilder/Desktop.JPG

no registriert ist ok

Help :(

SnowBot 01-12-2004 05:58 AM

:( found another bug :

When you add more than 1 news item.

It displays it incorect, it places the next item under the first BUT does not make the news box bigger to put it in.

Suggestion.
why not make it so it scrolls inline like

1. First news post | 2. Second news post | 3. Third news post and so on and so on.

Also maybe have an option to choose the color of the text so you can alternate

the colors, HOT NEWS in red and say other news you can put in another color

VBDev 01-12-2004 09:30 AM

@dede : I don't understand your problem, what's wrong ??

@snowbot : to have the same size as your forum width, modify in the news template the width of tables to adjust it with your forum's width
-
Quote:

BUT does not make the news box bigger to put it in.
Sure of it ? I just tried and all seems to be ok for me, have you a SC ?
- To make news scroll inline just remove
Code:

<br>
from the news_news template
- To choose the color of a news item, use VBCodes !! ;)
Code:

[.COLOR=red]Text for the news[/COLOR]

danbc 01-12-2004 10:30 AM

Snowbot:

Thanks man, didn?t see it.. Now everything seems to be working :)

SnowBot 01-12-2004 11:28 AM

Quote:

Originally Posted by danbc
Snowbot:

Thanks man, didn?t see it.. Now everything seems to be working :)

glad i could help :)

I just thought of a nice addon for this

What about having a "display news for XX hours/days" then after the alotted time the news turns off?

dede1 01-12-2004 12:08 PM

@VBDev

with me no box is for the news for guests goes there it
not for the user

gmarik 01-14-2004 07:29 PM

vBdev is it Powered by XOOPS 2.0 © 2001-2003 The XOOPS Project
or vBulletin on your page - I mean the whole article thing?

VBDev 01-14-2004 07:41 PM

Our forum is powered by Xoops entirely.

You might find it strange for vbulletin hackerz lol but we didn't want to put a big forum on our release site because we just do hacks so we have choosen xoops :)

but we are 100% vbulletin developpers lol

dmogg 01-18-2004 01:01 AM

help me plz, I thought i did this right but I did not apparently, the box doesnt show up or anything could someone please send me a msg on aim or pm and help me, i am new to this.

aim: thenotoriousmogg

thank you

anabolicedge 01-18-2004 01:03 AM

where do i turn this on or off... when i go into news options it doesn give me the buttoms to click just the text saying "onoff"

anabolicedge 01-18-2004 01:53 AM

never mind i got it... when i entered "yesno" i had an extra space at the end like this "yesno " hope this might help someone else out..

how do i use html? Is it possible?

Dragon_IBA 01-18-2004 02:04 AM

Nice news hack, using it well. ***click**** installed. Thanks


All times are GMT. The time now is 02:36 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.01449 seconds
  • Memory Usage 1,828KB
  • 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
  • (7)bbcode_code_printable
  • (1)bbcode_html_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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