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)

Velocd 05-21-2002 12:43 AM

In your Vbhome index.php, make sure the section labeled:

// ################################################## ####################
// ## LATEST THREADS ################################################## ##
//################################################## ####################

and the code inside exists. If it still doesn't work than post the index.php file and I will take a look at it.

Regards,
Velocd

MomofThree 05-21-2002 11:23 PM

Velocd,

I sent it to you in emai. Thanks for looking at it.
I'd like to get this to work.

Iliana

Velocd 05-22-2002 02:38 AM

Checked my email, nothing found. Why don't you just attach it to a post in this thread, that would make it 100x more easier
[high]* Velocd doesn't like going to his email very often
[/high]

Also, hey Nakkid could you please help me with a question stated in post #320 (no need to answer question in post #318, figured it out)

I've updated my homepage too now, the hack works perfect. http://www.diffusion4.com

TECK 05-22-2002 02:55 AM

velocd, for the 320 post do this...
find:
Code:

$getnews=$DB_site->query("SELECT thread.title,thread.dateline,forumid,postusername,postuserid,post2.pagetext as pagetext
REPLACE it with:
Code:

$getnews=$DB_site->query("SELECT thread.title,thread.dateline,forumid,postusername,postuserid,lastposter,post2.pagetext as pagetext
below:
Code:

$newsuserid=$news[postuserid];
ADD:
Code:

$lastposter=$news[lastposter];
then place in your threadbits template the [high]$lastposter[/high] variable to suit your needs.
i didnt test this on ym script, please let me know if it worked. thanks.

MomofThree 05-22-2002 10:54 AM

Edited due to nakkid's post below.

Vel., now you know why I initially did not post my index file here and emailed it to you, but you said you never received it. I emailed it through the email link provided on your profile.

I guess I am done with this hack since I can not get it to work. :(

Thank you for trying.

TECK 05-22-2002 04:56 PM

momo, when you purchased vbulletin, you accepted the license agreement. by posting parts of VB code you infringe it. please remove it (the VB code part). if you need help, please use email or pm's. thanks.

Velocd 05-24-2002 04:33 AM

Thanks for post #326 Nakkid ;)

edit:

that is odd, I just did those code changes you mentioned and it still doesn't work :(

Beekon 05-25-2002 01:32 PM

I've got this working after some fiddling around with it.
(still modifying and testing)
But I have a little problem with the private messaging box.
I can't seem to add my titlebar wich I use for all my windows.

My home_pmloggedin template is empty, this is probably why ?
I can't find what to add there tho ..

Anyway, I've added all my other titlebars in the home template before I called the entire variable(?), when I try this with the pm box it just won't shop up, or cluttered like hell.
My html skills are better then my php, but I can't seem to find why it's doing that.

http://www.f2d.be/v2/test/index.php
(I forgot that the box wont even show up when you're not registered, I'll up a screenshot)

I'm also looking for the code to add wich members are online, I can't find it in the index.php :(

Beekon 05-25-2002 02:26 PM

More problems ..

The news needs to appear in a scrollable window, I'm currently doing this with an iframe (http://www.f2d.be/v2)
I can't figure out how to do this with vbhome tho :(

This is what I've tried ::

(in template home)
PHP Code:

<IFRAME NAME="iframe1" SRC="news.php" ALIGN="top" HEIGHT="400" WIDTH="400" HSPACE="0" VSPACE="0"  frameborder="0"

If 
you can see thisyour browser does not support iframes

</
IFRAME

Then I created the file news.php and added everything from the home_newsbits template into that.
That didn't work, attached screenshot shows the output ..

I somehow expected that :) Can someone give me a hint on how I should do this ?

TECK 05-25-2002 03:43 PM

look at forumfome_pmloggedin for the code that must be added into home_pmloggedin. play with the html code to obtain the look you want. good luck with your site.


All times are GMT. The time now is 06:27 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.05156 seconds
  • Memory Usage 1,745KB
  • 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_code_printable
  • (1)bbcode_php_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