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)
-   -   vBadvanced Homepage (https://vborg.vbsupport.ru/showthread.php?t=59803)

EVO VIII Chris 01-13-2004 11:32 PM

Ok nevermind I got it working. Now my question is this. Are there any templates to edit for this thing so I can modify the look of my main page a little? I can't seem to find the templates. Im not sure what they are called.

Chris

Zachery 01-13-2004 11:33 PM

try templates under Index :)

ConqSoft 01-14-2004 01:42 PM

Quote:

Originally Posted by Tigga
Open adv_index.php and find:

$index_footer .= str_replace

Replace that with:

$footer .= str_replace

And that should fix it. :)

Thanks!

scottct1 01-14-2004 02:20 PM

Ok question on the Latest Forums post functions.

How do I go about setting it up so that instead of showing the topic starter it shows who last replied or posted to the thread?

Thanks!

Tigga 01-14-2004 02:27 PM

Modify your index_threadbits template and move the code from the "title" part in the link to whereever you would like that displayed. ;)

scottct1 01-14-2004 03:03 PM

I don't know if I was clear

But at the moment on the Latest Forum Posts it shows the name of the person who started the thread.

What I want it to display instead is not who started the thread, but who replied to the thread.

Thanks for your help.

Tigga 01-14-2004 03:08 PM

Uh huh... And when you hold your mouse over the thread, what do you see? If you modify that template then you can move that to be displayed under the thread instead of when you hold your mouse over the thread title. ;)

Zachery 01-14-2004 03:11 PM

Quote:

Originally Posted by scottct1
I don't know if I was clear

But at the moment on the Latest Forum Posts it shows the name of the person who started the thread.

What I want it to display instead is not who started the thread, but who replied to the thread.


Thanks for your help.

you still just need to edit the template for it :)

kneesparx 01-14-2004 10:27 PM

Quote:

Originally Posted by Tigga
Blackbeard - You have to change the image paths to /forums/images

where can i set this path at? i was looking in admin/vbulletinoptions/vbadvancedsettings, but no love, do i have to change tha paths in the templates themselves? thanks in advanced

kneesparx 01-14-2004 10:39 PM

Quote:

Originally Posted by kneesparx
where can i set this path at? i was looking in admin/vbulletinoptions/vbadvancedsettings, but no love, do i have to change tha paths in the templates themselves? thanks in advanced

oops nevermind, i found it, just incase anyone else is a retard like myself, change the paths at admin/Styles & Templates/Style Manager/allstyleoptions/Image Paths

:)

Zachery 01-15-2004 12:39 AM

glad you figured it out :)

Mr. HillBilly 01-15-2004 01:41 AM

doh wrong thread

Zachery 01-15-2004 02:16 AM

Quote:

Originally Posted by Mr. HillBilly
doh wrong thread

lol yes there is :D

EVO VIII Chris 01-15-2004 04:59 AM

Ok so I have got this think all installed and you can see it at my site www.vorspann.net. It is far from finished but its a start and its coming along. My question to you is this. I am going to start creating other pages now and its a little tricky trying to figure out how. I created a template titled "index_project_evo" and left the template completely blank. I went to the URL just to make sure it worked and this is what showed up...

http://www.vorspann.net/index.php?page=project_evo

Well thats kind of what I wanted and kind of not. I wanted to keep the vB navbar on the tob and the headers, footers and even the recent post column and what not. I didnt however want the Custom Templates there because that is where I wanted to put my content for this page. Can anyone tell me if there is a easy way to get around this?

Thanks alot!
Chris

Celtic_Mad 01-15-2004 01:55 PM

How do I center the portal? www.football-forums.net/index.php

Symbian.info 01-15-2004 01:58 PM

Quote:

Originally Posted by Tigga
Ahh, good find... If you'll look in your adv_index.php file for this line of code:

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

Remove that and paste it right below this line instead:

require_once('./global.php');

That should fix the problem. :)

Problem: adv_index.php?page=links

I done that, but still don't work! get now:

Fatal error: Call to undefined function: parse_bbcode() in /home/www/adv_index.php on line 556

So how can I fix it??

More problem, the portal don't work any more then !!:
Fatal error: Call to undefined function: parse_bbcode2() in /home/www/adv_index.php on line 393

Zachery 01-15-2004 03:41 PM

Quote:

Originally Posted by Symbian.info
Problem: adv_index.php?page=links

I done that, but still don't work! get now:

Fatal error: Call to undefined function: parse_bbcode() in /home/www/adv_index.php on line 556

So how can I fix it??

More problem, the portal don't work any more then !!:
Fatal error: Call to undefined function: parse_bbcode2() in /home/www/adv_index.php on line 393

i belive if you look a few pages back theres a fix, if you do not find it ill post it

Symbian.info 01-15-2004 06:08 PM

Quote:

Originally Posted by Faranth
i belive if you look a few pages back theres a fix, if you do not find it ill post it

Ehum. the fix was just standing in mine message, but don't work (for me?)..

Zachery 01-15-2004 06:15 PM

well then im not entliry sure of the fix, >.<

Dontom 01-16-2004 04:40 AM

hello, great programm :)

2 Things:
1) Add a warning that your install script might do an alter table to the post table - my load went up to > 50 and i had to stop my apache to let this run through (>1Mio posts..)

2) can i tell vBadvanced to use a certain style?
Thank you
Tom

Zachery 01-16-2004 04:51 AM

Quote:

Originally Posted by Dontom
hello, great programm :)

2 Things:
1) Add a warning that your install script might do an alter table to the post table - my load went up to > 50 and i had to stop my apache to let this run through (>1Mio posts..)

2) can i tell vBadvanced to use a certain style?
Thank you
Tom

if you had mYvBindex is the only reason it would alter the post table

no i dont think so, i belive it works on the same idea as the site, whatever style the user is using, it will default to whatever style you have set to default in the ACP :) for guests that is

Dontom 01-16-2004 05:04 AM

Quote:

Originally Posted by Faranth
if you had mYvBindex is the only reason it would alter the post table

Sure - but a small "If you had mYVbindex installed previously this installer will alter your post table" would be great especially if you are dealing with larger post-tables...

Tom

Dontom 01-16-2004 05:14 AM

VBadvanced only shows 2 of my posts from the newsforum (http://www.mtb-news.de/forum/forumdisplay.php?f=106) - the newest and the oldest - what could be causing this?

http://www.mtb-news.de/adv_index.php

Zachery 01-16-2004 05:53 AM

Quote:

Originally Posted by Dontom
VBadvanced only shows 2 of my posts from the newsforum (http://www.mtb-news.de/forum/forumdisplay.php?f=106) - the newest and the oldest - what could be causing this?

http://www.mtb-news.de/adv_index.php

i see 3, whats your limit set too?

Dontom 01-16-2004 06:13 AM

Quote:

Originally Posted by Faranth
i see 3, whats your limit set too?

20.
found out why - firstpostid is still missing for the rest of the threads - i guess i need to reindex...
thank you
tom

Zachery 01-16-2004 06:47 AM

Quote:

Originally Posted by Dontom
20.
found out why - firstpostid is still missing for the rest of the threads - i guess i need to reindex...
thank you
tom

if you just upgraded from vb 2 you should have already done this ;D

Dontom 01-16-2004 06:56 AM

Quote:

Originally Posted by Faranth
if you just upgraded from vb 2 you should have already done this ;D

we did upgrade 3 days ago and the reindexing is still running... :)

Zachery 01-16-2004 07:09 AM

i wouldnt suggest running the site live while doing this, it should only prologn things

Wolf42 01-16-2004 07:36 AM

Very nice hack. After reading the whole thread I was able to get it work on my testboard. Now I'm able to run vB 3 RC2 instead of vB2 2.3.4 on both of my licenses (AFTER translating the hack in german ;) )
[high]* Wolf42 click install[/high]

EVO VIII Chris 01-16-2004 08:44 AM

Quote:

Originally Posted by EVO VIII Chris
Ok so I have got this think all installed and you can see it at my site www.vorspann.net. It is far from finished but its a start and its coming along. My question to you is this. I am going to start creating other pages now and its a little tricky trying to figure out how. I created a template titled "index_project_evo" and left the template completely blank. I went to the URL just to make sure it worked and this is what showed up...

http://www.vorspann.net/index.php?page=project_evo

Well thats kind of what I wanted and kind of not. I wanted to keep the vB navbar on the tob and the headers, footers and even the recent post column and what not. I didnt however want the Custom Templates there because that is where I wanted to put my content for this page. Can anyone tell me if there is a easy way to get around this?

Thanks alot!
Chris

Anyone?

GuruXL 01-16-2004 11:22 AM

Tigga, I don't plan on using this script now, however, it looks promising. I am waiting for the gold release before I start messing with the underlying code in vB3. I am wondering if you can create extra pages that have just the header and footer for vB3 and can it be used with this script to create a page like say: page.php?id=reviews and then load up a reviews page?

Just wondering. Let me know...

Zachery 01-16-2004 01:45 PM

Quote:

Originally Posted by EVO VIII Chris
Anyone?

i figured it was better left for tigga to anwser you. :P as i know how to do it but he might know a better way :)

rinkrat 01-16-2004 06:00 PM

Okay, here's my wish list, a shoutbox and a block that links to Gallery random pics.

Zachery 01-16-2004 06:09 PM

Quote:

Originally Posted by rinkrat
Okay, here's my wish list, a shoutbox and a block that links to Gallery random pics.

Shoutbox wont be default, maybe as an addon id guess :)

You CAN make a block to display random gallery pics your self, but you must remember there are tons of differnt gallery softwares :) so youd be best off making it your self

NuclioN 01-16-2004 06:12 PM

I've problems to include a php on the index. www.cyberty.nl (Two links in centerblock 'headlines') In this centerblock it loads headlines out of a newsscript but the links are stripped so they point to url?actionetcetc. instead of url/news.php?actionetcetc. Maybe this has to do with globals?

Zachery 01-16-2004 06:12 PM

Quote:

Originally Posted by NuclioN
I've problems to include a php in the index. In the centerblock it loads headlines out of a newsscript but the links are stripped so they point to url?actionetcetc. instead of url/news.php?actionetcetc. Maybe this has to do with globals?

how are you trying to include it?

NuclioN 01-16-2004 06:14 PM

In adv_index.php

Code:

ob_start();
require("news.php");
$file = ob_get_contents();
ob_end_clean();

And the $file in custom_index5 template

Zachery 01-16-2004 06:16 PM

Quote:

Originally Posted by NuclioN
In adv_index.php

Code:

ob_start();
require("news.php");
$file = ob_get_contents();
ob_end_clean();

And the $file in custom_index5 template

why not just include the file and add the HTML directy into the templates with the varibles?

NuclioN 01-16-2004 06:19 PM

When i include a file in adv_index.php the output is placed above the header. I've tried this with other php files and they do the same. Maybe there is another method?

Hm..a variable! Do you have an example? It would open the door to many more include options if this works. :)

Zachery 01-16-2004 06:32 PM

Quote:

Originally Posted by NuclioN
When i include a file in adv_index.php the output is placed above the header. I've tried this with other php files and they do the same. Maybe there is another method?

Hm..a variable! Do you have an example? It would open the door to many more include options if this works. :)

why not do what i said

require_once("./file.php");

now if theres any html with varibles in there, copy it into a template eval this template

eval('$woot = "' . fetch_template('woot') . '";'); before the final call :) i thin that shoudl work


All times are GMT. The time now is 11:39 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.02083 seconds
  • Memory Usage 1,834KB
  • 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
  • (2)bbcode_code_printable
  • (20)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