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)

Pikok 03-11-2004 07:19 PM

Quote:

Originally Posted by KamuiX
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

Put the news part in a conditional that check the browser and have it do whatever you want for different browsers.
PHP Code:

<if condition="is_browser('safari')">
// Stuff For Safari Here
<else />
// Stuff For Other Browsers Here
</if> 

If you don't want anything to show for safari, use:
PHP Code:

<if condition="!is_browser('safari')">
// Stuff For Browsers Other Than Safari Here
</if> 


skullycapone 03-13-2004 05:17 AM

i have installed this hack to my board and if you arent loged in you it will display the scrolling text please click here
but once you get loged in it will not show nothing
can someone help me with this
thanks

VBDev 03-14-2004 01:02 PM

Excuse me, if I didn't reply before it's coze I haven't seen these posts
and/or, if I didn't replied it is because I was really busy at this time so :

@red_baron : don't be so ironic, I'm tkinking you could love me ;)
Replace the template news_fin by

Code:

  </table>
  </td>
 </tr>
</table></table>       
</td>
</tr>
</tbody></table><br>

@skullycapone : the text shown to guests (please register...) disapeared if the user is logged
To add new news, go to your admincp > News and manage them as you want :)

However : sorry for this "absence"

VBDev 03-14-2004 01:08 PM

Hurm, I'll review the code this evening to make it 100% compatible with RC4, other templates code may have changed since RC1 and my code has to be improved and modified

Sorry for this :(

skullycapone 03-14-2004 05:32 PM

Quote:

Originally Posted by VBDev
Hurm, I'll review the code this evening to make it 100% compatible with RC4, other templates code may have changed since RC1 and my code has to be improved and modified

Sorry for this :(

its ok
i was just learning and i did go to admin pannel and add news and no matter what number i set it to it wont show
as in the pic i posted
maby what u have posted will help will let ya know how it goes
thanks for the reply

skullycapone 03-14-2004 08:12 PM

ok i tryed what ya said and still no news
after u log in that is
the only way to get anything to show is add the text below this <marquee>
in the news template
thanks for all the help

VBDev 03-14-2004 09:31 PM

Quote:

Originally Posted by skullycapone
ok i tryed what ya said and still no news
after u log in that is
the only way to get anything to show is add the text below this <marquee>
in the news template
thanks for all the help

Are you sure you didn't do an error during the installation ?

Check up modifications in the index.php please

Have you well activated in News Options the option do display them on the forumhome ?

KamuiX 03-15-2004 12:16 AM

Ah, thanks for the info Pikok! That should help, big time. :D

kauka 03-15-2004 02:29 AM

ok installed with the advice you gave red_baron in the news_fins but now everything at the bottom is centered, example whats going on is in the center. Any solution to this would be greatfully appreciated.

keiser 03-15-2004 02:32 AM

sweet! installed.

I used this as a "now playing" ticker for the embeded music I play on my forumpage, worked out nicely! You can all check it out at:

www.hookupboard.com

red_baron2000 03-15-2004 02:57 AM

Quote:

Originally Posted by kauka
ok installed with the advice you gave red_baron in the news_fins but now everything at the bottom is centered, example whats going on is in the center. Any solution to this would be greatfully appreciated.


indeed it fix the table but it center everything at the bottom of main page ...any idea how to fix that? thanking you in advance :)

skullycapone 03-15-2004 09:09 AM

Quote:

Originally Posted by VBDev
Are you sure you didn't do an error during the installation ?

Check up modifications in the index.php please

Have you well activated in News Options the option do display them on the forumhome ?

i have checked everything
and everything was done
and yes i do have it turned on in the option
or i wouldnt be seeing anything on the forumhome
like i stated before
it shows the box just no news in it
i have added the news

VBDev 03-15-2004 10:44 AM

Quote:

Originally Posted by red_baron2000
indeed it fix the table but it center everything at the bottom of main page ...any idea how to fix that? thanking you in advance :)

We are doing a modified version with an automatic installation, it will resolve the problem ;)

If you can't wait, add
Code:

</div>
at the end of your news_fin template

klaus die maus 03-15-2004 02:06 PM

hello ihape one problems. The box not indicated into my forum has everything so inserted pointed there. Help please

kauka 03-15-2004 10:33 PM

thank you that did the trick

red_baron2000 03-16-2004 07:02 PM

Quote:

Originally Posted by VBDev
We are doing a modified version with an automatic installation, it will resolve the problem ;)

If you can't wait, add
Code:

</div>
at the end of your news_fin template


thank you very much..it works like a charm cheers :)

steve1386 03-17-2004 09:31 PM

Guys will this work in conjunction with the shoutbox, I also have one on my forum?

regards

VBDev 03-17-2004 10:05 PM

@steve : yes it should

@klaus die maus : I understood nothing

@skullycapone : give me an access to your board so I could verify it, but it's really strange it doesn't work if it was done correctly. When you insert a news, does it record it in the database ?

skullycapone 03-18-2004 12:46 PM

i had to redo the hole board due to a mistake i made
i am trying to redoo my hacks now
but it does say it was saveing it

i redone me board fully
and redone the hack still nothing
VBDev
i sent u a pm giveing u the info u need ot log into the board
thanks for the help

Mr. Brian 03-19-2004 03:19 PM

Is it possible to give my Mod the access to edit the news box through their mod cp?

thanks

VBDev 03-19-2004 03:34 PM

@Matthew : herm, I've never used the modcp but I think that if you do the same modifications in admincp/index.php and modcp/index.php and that you upload the news.php in the modcp directoy there would be no problems ;)

moley 03-24-2004 04:09 PM

Does this hack work on vb3 gold? i had it on RC1 and loved it

VBDev 03-24-2004 04:23 PM

I post the version for vB3 Gold this evening, I have to test it, there were some modifications :)

VBDev 03-24-2004 08:42 PM

Our team has opened its support forum.

Now we will make support on our forum

So if you want better support on our hacks go on our forum: http://www.vbulletindev.net/

There are not a lot of hacks for the moment but it will come.

Cya soon on our forum :)

gspot 03-24-2004 10:25 PM

It worked for me with vb3 gold.. So what modifications where made???

VBDev 03-24-2004 10:34 PM

Hack updated

Some template modifications, an automatic installation
Templates cleaned ^^

gspot 03-25-2004 12:40 AM

Quote:

Originally Posted by VBDev
Hack updated

Some template modifications, an automatic installation
Templates cleaned ^^

was is necessary then in order to upgrade to the upgraded version???

moley 03-26-2004 07:17 PM

I get this error when trying to upgrade.
This file was created using a different version of vBulletin from the one you are running.

Your version: 3.0.0
File version: 3.0.0 Release Candidate 4

any idea how to fix this?

VBDev 03-26-2004 07:54 PM

@moley : in xml template's file, replace vB version with 3.0.0, I'll update the zip, I forgot to do it before ;)

Aleksey 03-28-2004 02:57 PM

It doesn't let me post long messages. It says MySQL error.

JonP 03-30-2004 11:00 PM

Haven't read this entire post, but this hack shouldn't be final.

The templates have french hard coded in them, and you can't input news with apostrophes in them; it doesn't look like slashes are added before the database query.

JonP 03-30-2004 11:03 PM

Typos also, like: News ofe "forumname."

JonP 03-30-2004 11:21 PM

Once you get all the little bugs and typos worked out, it works nicely.

One suggestion, is to have a text area for the input box instead of a one line input box.

The General 04-08-2004 11:50 AM

Quote:

Originally Posted by JonP
.
and you can't input news with apostrophes in them.

Exactly, that sucks big time...

And another little thing, when I collapse the news box, it will not remain that way when I enter a subforum and then go back to the index. What's the use of that function if it's not configured?

Other than that, great hack!

wolfgang2 04-10-2004 01:22 PM

Quote:

Originally Posted by The General
Exactly, that sucks big time...

And another little thing, when I collapse the news box, it will not remain that way when I enter a subforum and then go back to the index. What's the use of that function if it's not configured?

Other than that, great hack!

its a very nice hack.
but i have a suggestion.
how about if u have built a own vbulletin page and let the users type in new from this page?
It would be better if avereybody could give some information in the newsfeed.
Would it be possible to create something like that?

pie 04-30-2004 03:38 PM

In the admin penal <--- you need to look at that.

natralis 05-07-2004 07:22 PM

well i ran the auto install , done everything as stated and then got parse error index.php on line 50

which is

,
'danews',
'danews_news',
'danews_fin'

ive tried everything and just lost atm :( any help ?

BlazeXXX 05-26-2004 01:45 PM

EDIT: Thanks guys, i read the followups and figured it out that it was missing a debug line in config.php.

Works like Charm, it will be cool if the news ticket is going vertical, instead of horizontal.. because when we add more and more news as seperate ones.. we need a big amout of placeholder for the news. If its like a news ticker, which sends one news at a time but in horizontal or vertical way.. it wud be cool.

Just my suggestion :)

BlazeXXX 05-26-2004 11:27 PM

natrails,
In the index.php, when u insert those codes below the other bits, please do this:

Instead of adding:

,
'danews',
'danews_news',
'danews_fin'

Replace tat line with this:

'danews',
'danews_news',
'danews_fin'


Then go to the variable that is right above 'dannews', and add a comma after it in order to get ride of that parase error.

If u dunno wat i mean.. check this example:
Before:

'Test'
,
'danews',

After:

'Test',
'danews'.


As you can see, your comma is what was causing the pbm. I had this erorr and i done exactly like wat i am suggesting u and it worked :)

skinvb 06-02-2004 01:38 PM

Code:

This file was created using a different version of vBulletin from the one you are running.

Your version: 3.0.1
File version: 3.0.0

i get when i install it
If i want add news on sidebar how can i do that?
please help me


All times are GMT. The time now is 07:21 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.02565 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
  • (4)bbcode_code_printable
  • (2)bbcode_php_printable
  • (10)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