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)

Zr0 Designs 12-16-2002 12:07 AM

Quote:

Originally posted by Buddha


in addition to the url redirect that NTLDR suggested above, you can also make copies of vbindex.php as i have done. rename the copied file 'generalrules.php', and have it pull from a seperate forum. that way, you can populate your entire off-forum site with vbindex copies that pull from different forums. ntldr explained all of this in previous posts if you are interested. makes for an excellent, dynamic site that can easily be administered from the forum. works great on my site.

Would you (or anyone else for that matter) care to explain this a little further? Its an option that I could really use but I'm not sure how to :bored:

todd.o.callen 12-16-2002 01:37 PM

Quote:

Originally posted by NTLDR


Add thread.open<>10 in the WHERE Clause of the news query, that should prevent those from appearing I think.




I decided that I want to include the redirects, but I wanted to strip each post in the news list down to a linked title. I was using PluhHeadlines hack for this, but I like the way yours adds the post icon (and I am still considering leaving the bi-line info as a sub-header. ) Your code (tweaked) eliminates the need for the Pluh stuff. Cool :)

What code should I replace/add in the threadbits to show who just added the latest post to the thread. Now the thread starter appears (I think).

PS. You really rock. Too bad we are on different continents.

todd.o.callen 12-16-2002 02:11 PM

I think it would be cool if you would template up the three main columns if the home template and also add a template for the welcome box. This would make it a bit easier to really move things around. I really like how the rest is done. I am learning how to really use templates from your example, but this would just be icing on the cake.

I want to move the contents of the welcome panel into the left column where the user navigation sits in the default layout, but I am having great trouble. When I try to call the avatar image with $avatar, but it obviously isn't that easy. Hints?

Again, great hack, great support.

PS. Feel free to thin out my posts as you see fit.

NTLDR 12-16-2002 06:36 PM

Quote:

Originally posted by todd.o.callen
also add a template for the welcome box. This would make it a bit easier to really move things around.
The welcome panel part is all in the home template, I didn't see a great deal of point seperating it out. You can use $avatarimage in other templates that are evaluated after the users avatar is found. If adding $avatarimage doesn't display your avatar in the template move all the code between these two lines:

PHP Code:

// welcome panel by trilOByte
// -------------------------

-- TILL --

// -------------------------
// end welcome panel 


Above:

PHP Code:

// check if user is logged in or not and select the correct templates 

They can then be used in the menu specific templates.

NTLDR 12-16-2002 06:39 PM

Quote:

Originally posted by todd.o.callen
What code should I replace/add in the threadbits to show who just added the latest post to the thread. Now the thread starter appears (I think).
Use $lastposter in the home_threadbit template instead of $starter

todd.o.callen 12-16-2002 06:47 PM

Quote:

Originally posted by NTLDR


The welcome panel part is all in the home template, I didn't see a great deal of point seperating it out. You can use $avatarimage in other templates that are evaluated after the users avatar is found. If adding $avatarimage doesn't display your avatar in the template move all the code between these two lines:

PHP Code:

// welcome panel by trilOByte
// -------------------------

-- TILL --

// -------------------------
// end welcome panel 


Above:

PHP Code:

// check if user is logged in or not and select the correct templates 

They can then be used in the menu specific templates.

I have been trying this in the home_logout template, and I can't seem to get it working. Actually, none of the dynamic stuff seems to show up. Here is my current code:


:classic: Never mind.... I got it working.

BTW, the $lastposter thing works fine.

Elly 12-16-2002 08:54 PM

I have installed this about three times I followed all the directions as best as I could. I did all the aditions stated but when I try to view the page I get this series of errors

Warning: ChDir: No such file or directory (errno 2) in /usr/local/psa/home/vhosts/ultimaforce.net/httpdocs/vbindex.php on line 26

Warning: Unable to access ./global.php in /usr/local/psa/home/vhosts/ultimaforce.net/httpdocs/vbindex.php on line 27

Warning: Unable to access ./global.php in /usr/local/psa/home/vhosts/ultimaforce.net/httpdocs/vbindex.php on line 27


I am not running it on the forum directory I want it to be at http://www.ultimaforce.net/

when ever I click that link it tells me forbiden but when I enter http://www.ultimaforce.net/vbindex.php I get the series of errors shown above

Can you please help me ?

Darkmeteor 12-16-2002 11:25 PM

I installed this great hack on my site, but the news content does not show up, only the title of threads. I've read this thread about this problem, and tried everything in ACP -> Counters things (couldn't find the one with postid), using vbb 2.2.9

thanks for helping :)

http://www.lifestone-recall.com/vbindex.php

KeneticKangaroo 12-17-2002 12:51 AM

if anyone who has just installed VB and this hack could they pm me their edited files?
cos i cant get it 2 work :(

Imprezer 12-17-2002 05:20 AM

Hello, great hack!

Which templates do I need to modify if I want to add more tables with diff content on the sides?

Also, what addons are available and where can I see them/

Thanks a lot,

Once again, great job,

- Alex


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