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)
-   -   vBindex v2.1 (https://vborg.vbsupport.ru/showthread.php?t=41916)

Twin-x 11-06-2002 03:24 PM

Quote:

Originally posted by NTLDR


If the picture is placed in the post with vBcode or HTML then it should show on the homepage, if its an attachment it won't.

It is done with vbcode. So no attachments?

http://synthforum.com

NTLDR 11-06-2002 03:46 PM

vBcode Fix:

Find:

PHP Code:

$newstext=censortext(bbcodeparse($news[pagetext],0,1)); 

Replace with:

PHP Code:

$newstext=censortext(bbcodeparse($news[pagetext],$newsforum,1)); 

Note this will add 1 extra query.

[t4e]Kicks 11-06-2002 04:12 PM

Kicks]I read through about 19 pages of this thread for the problem I'm experiencing and gave up :)

I have a weird issue on the vbindex.php page. It successfully pulls the title of the news post, the icon used for the news post, the number of comments/replies, who posted, and when

The only thing missing is the actual content of the news post. I first thought it was because the characters for news post under the admin cp was set to 0 so I tried changing it to 100 to no avail.

Any feedback is appreciated :)

Maybe it's on one of the pages I didn't get to, but I gave up :D

NTLDR 11-06-2002 04:18 PM

Go into the ACP -> Update Counters -> Update postid's

This will then update your threads table and news posts made before you installed will appear on the site :D

[t4e]Kicks 11-06-2002 06:24 PM

Kicks]That did it! Thanks :)

That's one of the few places I didn't bother checking. The thought didn't even cross my mind.

Thanks!!

Twin-x 11-06-2002 06:24 PM

Quote:

Originally posted by NTLDR
Note this will add 1 extra query.
No problem. It works now.

Second wish c.q. problem.

If i do a sticky it does not stick on the news page. Any codes for me NTLDR ;)

NTLDR 11-06-2002 06:32 PM

Have a look towards the start of the thread I'm not sure if I did this modification before or not.

lemarsu 11-06-2002 08:11 PM

NTLDR,

is there a way to edit online.php so that when you look at who online you don't get something like : Unknown Location: /vbindex.php?

LeMarsu

NTLDR 11-06-2002 08:20 PM

Either install the hack by FireFly so you can add locations from the Admin CP or open online.php and see how the other PHP files are done. Theres two blocks of code for each one.

lemarsu 11-06-2002 08:53 PM

NTLDR,

Thanks
I updated online.php

replaced
PHP Code:

    case 'gallery':
      
$userinfo[where] = "Viewing Picture <a href='gallery.php?s=$session[sessionhash]'>Gallery</a>";
      break; 

by
PHP Code:

    case 'gallery':
      
$userinfo[where] = "Viewing Picture <a href='gallery.php?s=$session[sessionhash]'>Gallery</a>";
      break;
    case 
'portal':
      
$userinfo[where] = "Viewing <a href='vbindex.php?s=$session[sessionhash]'>The Portal</a>";
      break; 

and replaced

PHP Code:

  case '/robots.txt':
    
$userinfo[activity] = 'spider';
    break; 


by

PHP Code:

  case '/robots.txt':
    
$userinfo[activity] = 'spider';
    break;
  case 
'vbindex.php':
    
$userinfo[activity] = 'portal';
    break; 

all seem to work.


All times are GMT. The time now is 01:23 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.02490 seconds
  • Memory Usage 1,752KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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