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)
-   -   vbHome (lite) - your vBulletin(powered) main homepage (https://vborg.vbsupport.ru/showthread.php?t=36756)

The Piper 10-03-2002 04:55 AM

Thanks, TECK, as I've said I've been trying to do that for quite some time now with no success. It seems it requires quite a bit of changes to be made, from my experience. Of course I may be wrong (and I hope I am). :)

TECK 10-03-2002 05:01 AM

actually no. is very easy to implement. i will help you as soon as i'm free. post an url to the actuall hack so i can tell you exacly what to do later on...

The Piper 10-03-2002 05:32 AM

The hack is located right here. Thanks again! :)

Smoothie 10-03-2002 06:04 AM

Teck-

I'd like to test your vbHome script.
URL of install is; http://macfora.com

Thanks!

LeeCHeSSS 10-03-2002 06:18 AM

I spoke with TECK on MSN (only briefly) and he said I should post how to place a search box on your vbHome page. So here goes:

Open vbHome's index.php and search for:
Code:

$templatesused.= 'home_userloggedin,home_userloggedout,home_advertisementbit,';
replace that with:
Code:

$templatesused.= 'home_userloggedin,home_userloggedout,home_advertisementbit,home_search';
Next, search for (still in index.php):
Code:

eval("\$homefooter .= \"".gettemplate('home_footer')."\";");
and immediatly after it add:
Code:

// custom templates
eval("\$home_search .= \"".gettemplate('home_search')."\";");

Save and reupload index.php (as always, be sure you have a backup of the original).

Now goto your admin cp and create a new template called "home_search" and paste the following code into it:
Code:

<table border="0" cellspacing="0" cellpadding="0" width="150">
<tr>
<td bgcolor="{tablebordercolor}" >
<table width="150" border="0" cellspacing="1" cellpadding="3">
<tr>
<td valign="top" bgcolor="{categorybackcolor}">&nbsp;<font color="{categoryfontcolor}"><normalfont><b>Search
</b></normalfont></font>
</td>
</tr>
<tr>
<td bgcolor="{firstaltcolor}"><smallfont>
<!-- Begin -->
<table align="center" border="0"><tr align="center"><td><smallfont>
<form style="margin-bottom:-2;" action="$bburl/search.php" method="post">
<input type="hidden" name="s" value="$session[sessionhash]">
<input type="hidden" name="forumchoice" value="- 1">
<input type="hidden" name="searchin" value="subject">
<input type="hidden" name="searchdate" value="-1">
<input type="hidden" name="action" value="simplesearch">
<input type="hidden" name="booleanand" value="yes">
<input class="search" onFocus="this.value='';" type="text" name="query" value="For..." size="10" maxlength="150" >
<input type="hidden" name="action" value="simplesearch">
<input type="image" src="{imagesfolder}/go.gif" name="Submit" border="0" align="absbottom">
</form><b><a href="$bburl/search.php?s=$session[sessionhash]">Advanced Search</a></b>
</smallfont></td></tr></table>
<!-- End -->
</smallfont>
</td>
</tr>
</table>
</td>
</tr>
</table>
<smallfont><br></smallfont>

And finally, insert "$home_search" anywhere in the template "home" where you would like to have the search box show up.

Note that the box likely needs to be resized to fit your layout (this is the one i use for MY vbHome; which doesn't use the default layout).

TECK 10-03-2002 06:31 AM

Quote:

Originally posted by Smoothie
Teck-

I'd like to test your vbHome script.
URL of install is; http://macfora.com

Thanks!

smoothie, give me an hour or 2. i'm almost done with v3.3
it adds the iconews, images on the side, like postnuke and a search box.

as soon as i upload the script i will pm you the password.
cheers.

Smoothie 10-03-2002 06:35 AM

Teck-

Thanks! No rush, whenever you have time.

terry123 10-03-2002 08:14 AM

can i have password plz

TECK 10-03-2002 08:20 AM

yes, terry123. first submit here the URL where you plan to install vbHome (lite). thank you.
you should wait an hour also. i'm releasing v3.3 in a bit.

still having problems with a cool dropdown i made, to see the article icon (while selecting it), when you submit your article...

LeeCHeSSS 10-03-2002 08:39 AM

Hmm, you using javascript for that?

Anyway, are you making the icons optional? Because my site doesn't deal in the default phpnuke topics. And I haven't got any cool icons to use for topics that would fit on MY site.


All times are GMT. The time now is 04:43 AM.

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.03474 seconds
  • Memory Usage 1,746KB
  • 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
  • (5)bbcode_code_printable
  • (1)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