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)

MauriceReed 03-01-2005 02:17 AM

how has anyone without the proper coding no hjow got this working on their forums??
its littered with mistakes in the coding, typos etc.....

should this have been made a RC??

reckon it should still be a beta.

KanyeWest 03-01-2005 06:13 PM

why does it have to be in french err

red_baron2000 03-15-2005 11:28 AM

Quote:

Originally Posted by ged
But where is this
Code:

<br>
code?

try this mod i did it solve the problem:

open index.php

find :
Code:


require_once('./includes/functions_bbcodeparse.php');

add below it:
Code:

$s_num=60; //change that value to # of chars between news
find:
Code:

$new['comments'] = parse_bbcode($new['comments']);
add below it:
Code:


//number of spaces between news
        for($i=0;$i<$s_num;$i++)
        $new['comments'] .="&nbsp";

modify those templates:
Code:

1)
add to the END of "danews" template
<b>Welcome to our newest member : </b><b><font color=red>$newusername</font></b><br />
<tbody id="collapseobj_news" style="">
<tr>
<td class="alt$alt" align="center" cellpadding="0">
        <table border="0" width="80%">
        <tr>
                <td><marquee>
2) change danews_news template to:
$new[comments]
3)add to the end of danews_fin       
</tr>
        </table>
</td>
</tr>


loftyasianz 08-12-2005 04:27 AM

i just installed this hack on my site and i'm VERY please. it's everything i wanted.

but i was wondering how i would go about adding "$news_affichage" onto other pages on my forum such as in my vba gallery home page and my vba cmps page. i already tried adding them in the templates but nothing shows up. what do i need to do in addition to make them show on ALL or most of my pages?

thanks in advance,
warren


All times are GMT. The time now is 07:13 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.01270 seconds
  • Memory Usage 1,727KB
  • 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
  • (6)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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