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)

RenzukenX 08-21-2002 06:30 PM

Hehe, I know how you feel.

Great that has brought up the page but all of the links (including pictures) are pointing to the main directory www.f-fantasy.com rather than www.f-fantasy.com/forums.

I assume (and hope) it is a minor edit?

NTLDR 08-21-2002 06:33 PM

In the style, the path to the images folder must be a full url, not just images, so change it to http://www.f-fantasy.com/forum/images

As for the links, make sure in the main options you have the URL for the forum set to http://www.f-fantasy.com/forums

RenzukenX 08-21-2002 06:41 PM

Thank you so much, that has seemed to fix everything!

I appriciate it fully, now to impliment it complete into my fully running boards, thank you again

NTLDR 08-21-2002 06:43 PM

No problem, Glad I could get it working for you :D

RenzukenX 08-21-2002 07:05 PM

Sorry to be a complete and utter dumbass, but I've had a little template problem.

If you go to www.coalitionforums.com you will see it, how will I be able to edit the background colour?

NTLDR 08-21-2002 07:11 PM

All the colours for vBindex are taken from the colours of the Style that you are using, so you need to edit the colours that you are using for the default style in the Admin CP.

RenzukenX 08-21-2002 07:18 PM

Hmm, yes I figured that and I've edited the colours and yet I have still to find out why white surrounding is showing up instead of the normal forum background colour.

NTLDR 08-21-2002 07:23 PM

The white surounding is the page background colour in the Admin CP.

RenzukenX 08-21-2002 07:30 PM

That is what is perplexing me, White isn't the page background colour in the AdminCP it is a totally different colour.

For the actual forum it shows it, but on the vbindex page it doesn't

NTLDR 08-21-2002 07:33 PM

They are both showing up as white to me :confused:

RenzukenX 08-21-2002 07:38 PM

Hmm, something must be amiss.

Also the poll I just made up seems, well, not to be working.

mbaskett 08-21-2002 08:30 PM

Quote:

Originally posted by NTLDR


This isn't a bug that I am aware of, if you look at this screenshot that I posted at the start it shows all the vBcode being parsed correctly. Perhaps you should try uploading v2 and just testing that to see if the code parses correctly or not.

What are the major differences between v2 and v1.3? Is it so great that I would not be able to adapt my current version code to meet v2 standards without having to recreate all my customizations? Murpyh's Law has hit me again... just as we are nearing completion of QA on the website, you go and release a newer, better version which will require us to start the QA process over ;)

Don't worry, it's cool, just going to set us back on official release of the new website...

Quote:

On a side note I'd like to say that you have done a great job with the page ;)
Thanks! We're still working on a few things, but it's getting there. It always feels good to get some positive feedback!

NTLDR 08-21-2002 09:00 PM

Quote:

Originally posted by mbaskett
[B]What are the major differences between v2 and v1.3?
Major Differences:
  • Code cleaned up;
  • Number of queries seriously reduced;
  • All known bugs from 1.x fixed;
  • Installer added;
  • Layout and templates modified;
  • Some new features added, some updated (see Post 1).

Quote:

Is it so great that I would not be able to adapt my current version code to meet v2 standards without having to recreate all my customizations?
If you have installed all the bug fixes from v1.x and the new features arn't any good to you then you may not want to upgrade and stick with your current version. However if you do want the new features then a majority of your templates can stay "as is".

Quote:

Thanks! We're still working on a few things, but it's getting there. It always feels good to get some positive feedback!
Its good to see that you have changed the default templates to make it look different and added stuff to the page, it makes it stand out from the default.

mbaskett 08-21-2002 09:03 PM

actually, I think I've found the problem.... and it's not related to this hack, but more of a problem with the bbcodeparse() function...

if a given string doesn't have the terminating command "[/termstring]" in it, then the bbcodeparse doesn't know to invoke the initiating command "[beginstring]"

This is happening to my page becuse I have a $maxchars set to limit the length of the news article posted on the main page... and it happended to cut it off in between the [.list] and [/.list] code

I'll see what I can find out for a fix and post it up...

NTLDR 08-21-2002 09:11 PM

Quote:

Originally posted by mbaskett
actually, I think I've found the problem.... and it's not related to this hack, but more of a problem with the bbcodeparse() function...
Thanks for pointing that out, I didn't notice that when I visted your site and was sure it wasn't a bug in the code ;)

RenzukenX 08-22-2002 02:33 PM

I'm having some trouble with the Poll option. When I post a poll in the Poll forum all that shows up on the vBindex page is the Vote button

NTLDR 08-22-2002 02:37 PM

You need to make sure that the Poll is in the forum that is specified in the vBindex file (so if the id is 2 then its in forum id 2) and that the poll is the last post in the forum.

Also check that the home_poll template hasn't been changed so it doesn't display properly.

Sean123 08-22-2002 02:39 PM

Hey NTLDR,

I saw on your site that it looks like your running vBindex v2 for it .. how did you get the links on the side? Like where it says UKW Gaming and then when you click it ,.. it list News, Reviews, etc .. Can you tell me how to do that .. because I would like to be able to do that .. Thanks

Sean

NTLDR 08-22-2002 02:52 PM

Quote:

Originally posted by Sean123
how did you get the links on the side?
If you want the links to show for all users edit the home_left template, if you want links to appear for just logged in/out users edit home_loggin for logged out users and home_logout for logged in users.

RenzukenX 08-22-2002 02:53 PM

Thanks it was the home_poll template that was causing the problem.

Sean123 08-22-2002 02:57 PM

Yes . .I would like it to show for anyone .. even guest .. but how did you put them there .. when I downloaded and added this hack alll it has on the left menu is UserCP, Buddies, PM,etc .. I would like to replace or make another menu with links so I can put links to pages just like yours .. so I can put stuff like a features page, interviews page,etc . .

NTLDR 08-22-2002 03:01 PM

Just edit your home_left template in the Admin CP, here you can add links to the side menu.

Sean123 08-22-2002 03:03 PM

ok .. ill try that ..

Sean123 08-22-2002 03:06 PM

ok . .before I do that .. how do I center the banner for the vBindex. I did the center banner and buttons hack for the forum but it wont center for the vbindex .. do you know how I could achieve this . .thanks

edit// I figured it out . .thanks anyways

Kohhal 08-22-2002 05:27 PM

I'm having a problem with template.php. I get the following error in my control panel when I click on Templates/Modify :

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/canoepol/public_html/forum/admin/template.php on line 359

Parse error: parse error, unexpected T_STRING, expecting ']' in /home/canoepol/public_html/forum/admin/template.php on line 365

Help would be greatly appreciated as when I try to revert to the original template.php I don't get any errors but the cpanel doesn't show me any templates :( (Note: I restrore to the original 2.2.2 vb template.php, not the one that I should have backed up before starting this hack :mad: although it was unhacked?)

Please help, my forums still work fine but I have no access to any of my templates anymore :confused:

NTLDR 08-22-2002 05:36 PM

Quote:

Originally posted by TheMasterG
(Note: I restrore to the original 2.2.2 vb template.php, not the one that I should have backed up before starting this hack :mad: although it was unhacked?)
I expect that you have PHP 4.2.x installed on your server, which means that you need the template.php from 2.2.6, as previous versions don't work correctly with PHP 4.2.x

drives fast 08-23-2002 02:11 AM

I know you said you would be adding this in the next version but it is the only thing holding me up on launching it.....

I would like to add in a $maxchars to the display of the news posts but still can't figure it out myself

I have looked at vbportal code but it is a bit complex so I decided to look in search.php since it will display only a set amount of characters and the code looks like....oops.....I think it is not cool to post original vb code huh

anyway....there is a section that starts: "// get first 100 chars of page text"

does anyone know how to integrate that feature into the news portion of vbindex?

any help would be appreciated

Kohhal 08-23-2002 07:48 AM

Quote:

Originally posted by NTLDR


I expect that you have PHP 4.2.x installed on your server, which means that you need the template.php from 2.2.6, as previous versions don't work correctly with PHP 4.2.x

Thanks, I remember doing that before actually, phew :) I've got my templates back but adding "$only[\'home\'] = \'vBindex\';" still causes the above errors. What does this line do and do I really need it? It doesn't seem to like the "///s" in the code for some reason. Also, is the line " $only['showgroup'] = 'Show Groups';" supposed to be deleted and why?

TIA, G :D

Edit: Ok, I see why \'home\' is needed but it still gives me those above errors? Should the 'showgroup' line be deleted?

NTLDR 08-23-2002 10:26 AM

Quote:

Originally posted by TheMasterG
Edit: Ok, I see why \'home\' is needed but it still gives me those above errors? Should the 'showgroup' line be deleted?
The showgroup line should stay, its part of the origional vB code. All those lines do is group the templates based on the first part of there name, home is not needed, it just makes it easier and tidier if they are grouped.

NTLDR 08-23-2002 10:27 AM

Quote:

Originally posted by drives fast
anyway....there is a section that starts: "// get first 100 chars of page text"
I'll try and take a look at that as soon as I get a proper chance.

Kohhal 08-23-2002 10:43 AM

Quote:

Originally posted by NTLDR


The showgroup line should stay, its part of the origional vB code. All those lines do is group the templates based on the first part of there name, home is not needed, it just makes it easier and tidier if they are grouped.

Yep, it seems optional. The only thing not working for me now is the poll, it doesn't display the questions or options, only the vote button?

Aaow AnD wHiTe 08-23-2002 04:25 PM

Thanx NTLDR for this amazing hack :)

Q: Is there any way to make it so it gets the lastest poll posted in a forum without it having to be the the last post in that forum?

I don't want to have a "Poll Only" forum, so i would like to just get the lastest poll posted in my -for examplo- general forum.

Thanx in advance!

NTLDR 08-23-2002 04:47 PM

Quote:

Originally posted by TheMasterG

Yep, it seems optional. The only thing not working for me now is the poll, it doesn't display the questions or options, only the vote button?

Yep, the edit to template.php is 100% optional. Check the home_poll template if the poll isn't displaying properly.

NTLDR 08-23-2002 04:48 PM

Quote:

Originally posted by Aaow AnD wHiTe
Q: Is there any way to make it so it gets the lastest poll posted in a forum without it having to be the the last post in that forum?
I'll take a look at modifying the query to do this.

camikazi2k 08-24-2002 03:01 PM

help
http://216.147.92.68/vbindex.php
i cant see the news template

camikazi2k 08-24-2002 03:14 PM

Quote:

Originally posted by TheMasterG

Thanks, I remember doing that before actually, phew :) I've got my templates back but adding "$only[\'home\'] = \'vBindex\';" still causes the above errors. What does this line do and do I really need it? It doesn't seem to like the "///s" in the code for some reason. Also, is the line " $only['showgroup'] = 'Show Groups';" supposed to be deleted and why?

TIA, G :D

Edit: Ok, I see why \'home\' is needed but it still gives me those above errors? Should the 'showgroup' line be deleted?

how did you get it back
i am having the same error
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/hagasny/hagasny-www/admin/template.php on line 362

Parse error: parse error, unexpected T_STRING, expecting ']' in /home/hagasny/hagasny-www/admin/template.php on line 368

NTLDR 08-24-2002 07:07 PM

Quote:

Originally posted by camikazi2k
help
http://216.147.92.68/vbindex.php
i cant see the news template

You *need* to follow the hack instructions, you either haven't installed the home_new and/or home_newsbit template or you haven't set the correct forum id in the vbindex.php file.

CarlosC 08-24-2002 08:13 PM

Thanks again for the hack.. Good Job!!

I was looking to see all the pages of my web site to look as the index (vbindex) with the menus to the left and right and stuff in the center.. I saw a reply from you were you suggest to create templates for the pages that we wanted to look as the Vbindex. I did that and work great!! But.. (There is always a BUT), if you go to my forum (Spanish forum):
www.tecnibyte.com/forum/ you will see at the right side a menu width games online (juegos online), with Tetris, flashman and others. Ok what I want is that only registered user can access those games. I am not sure about what to do width this. Is it possible to block the access to unregistered users?

Thanks in advance..
CarlosC

Aaow AnD wHiTe 08-24-2002 08:35 PM

Quote:

Originally posted by NTLDR


I'll take a look at modifying the query to do this.

Thanx buddy ^^

NTLDR 08-24-2002 08:39 PM

Quote:

Originally posted by CarlosC
Ok what I want is that only registered user can access those games. I am not sure about what to do width this. Is it possible to block the access to unregistered users?
Add those links in the home_logout template, that way it will only appear to logged in users.


All times are GMT. The time now is 07:43 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.02697 seconds
  • Memory Usage 1,836KB
  • 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
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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