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)

bouncer18 10-02-2002 04:23 AM

Quote:

Originally posted by TECK
the piper, go here:
forum/admin/setting.php

in your browser, then manualy remove the vbHome Page group

beat ya to it! and i was right too woohoo i am finally catching on to this..

wish i never learned VB and ASP..

should have stuck with perl and php

:(

bouncer18 10-02-2002 04:29 AM

hmm no workie again for me.... you nokia?

The Piper 10-02-2002 04:30 AM

Great help, guys, the setting.php file did the trick.

I'm still having a few questions: where should I add a poll so it will show on the main page? And also, vbmicrostats is not showing on the main page, so I can see how effective vbHome is and so I can go open a beer in a few minutes to celebrate this.

PS: It certainly loads a whole lot faster than vbIndex....

TECK 10-02-2002 04:31 AM

you can post in any forum.. i dont recommend you to post on the news one.. since is a news forum.
in home_footer, add at the bottom {getmicrostats}

nokia8860 10-02-2002 04:31 AM

yep that broke it :(

bouncer18 10-02-2002 04:31 AM

Quote:

Originally posted by The Piper
Great help, guys, the setting.php file did the trick.

I'm still having a few questions: where should I add a poll so it will show on the main page? And also, vbmicrostats is not showing on the main page, so I can see how effective vbHome is and so I can go open a beer in a few minutes to celebrate this.

PS: It certainly loads a whole lot faster than vbIndex....

We are working on the polls script now.

Enable it in admin cp --> Home Section (bottom under options)

To have it show microstats, place it in the footer and it should load just fine. Check the template home_footer

bouncer18 10-02-2002 04:32 AM

Quote:

Originally posted by TECK
you can post in any forum.. i dont recommend you to post on the news one.. since is a news forum.
in home_footer, add at the bottom {getmicrostats}

mine isnt there.. it was in an other one..

i did the first hack with no permissions.. when it worked
i deleted the poll in news and it brought the next one back up which was in forum Z

now she is gone.. :( hehe

TECK 10-02-2002 04:33 AM

ok. so i will fix this. we located the problem. :)
for now, simply remove the $ipollperms from the query and you should be back in business.

nokia8860 10-02-2002 04:34 AM

Quote:

Originally posted by TECK
ok. so i will fix this. we located the problem. :)
for now, simply remove the $ipollperms from the query and you should be back in business.

Sorry, my php is really lacking, where do i remove this from?

:banana:

bouncer18 10-02-2002 04:35 AM

**EDITED BY BOUNCER18.. IRRELEVANT CODE..DONT TRY THIS AT HOME**

TECK 10-02-2002 04:35 AM

in the query, you should see there ...$iforumperms $ipollperms...

delete the ipollperm one

TECK 10-02-2002 04:36 AM

then let me know if you got it up, ok?

bouncer18 10-02-2002 04:37 AM

hmm still no workie

bouncer18 10-02-2002 04:39 AM

maybe put $ipollperms back to how it was before we changed it....?

nokia8860 10-02-2002 04:40 AM

PHP Code:

SELECT FROM thread LEFT JOIN poll ON (poll.pollid=thread.pollidWHERE thread.visible=AND thread.open<>10 $iforumperms ORDER BY thread.pollid DESC LIMIT 1 

did i do this right cuz the poll isnt showing.

bouncer18 10-02-2002 04:41 AM

Quote:

Originally posted by nokia8860
PHP Code:

SELECT FROM thread LEFT JOIN poll ON (poll.pollid=thread.pollidWHERE thread.visible=AND thread.open<>10 $iforumperms ORDER BY thread.pollid DESC LIMIT 1 

did i do this right cuz the poll isnt showing.

yes you did..

i think its due to

[code]
$ipollperms = 'AND postuserid=' . implode(' OR postuserid=', array(1, 2, 3));
[\code]

wish i could help Teck... i dont know php that well tho

TECK 10-02-2002 04:41 AM

yep you did... it worked before???? now it's not working?
no bouncer.. is just a variable, if you take it out is like garbage code, it doesnt bother at all.

nokia8860 10-02-2002 04:42 AM

bouncer,

Same here. I am just a follower :( But I love his work!!!


Go TECK Go!

bouncer18 10-02-2002 04:42 AM

Yea..

so what if we change $ipollperms back to the original......

it worked like that before... *just a hunch*

TECK 10-02-2002 04:43 AM

go ahead. :)
have fun... and let me know that it didnt do much. :)

nokia8860 10-02-2002 04:44 AM

TECK,

Go to bed so your wife doesnt kill you!!!

bouncer18 10-02-2002 04:45 AM

hehe blah blah so it didnt work..

i tried lol

TECK 10-02-2002 04:46 AM

i will. i will look onto this tomorrow.. we will get it working i promise :)
nite guys.

bouncer18 10-02-2002 04:49 AM

Night man..

for now i am gonna just kill both $ipxxxx

looks good tho, i enjoy it.

Night

TECK 10-02-2002 04:52 AM

one thing i forgot, please delete all relevant code... thanks.
now i'm gone for real. :)
bye, cya tomorrow all.

bouncer18 10-02-2002 04:57 AM

Done

nite

The Piper 10-02-2002 04:59 AM

Ok, I got it up and running but the articles are showing without any words. Check out the screenshot attached to this to see what I mean.

Also, the polls did not work, unfortunately. I've noticed you're already dealing with this, so if you need any details on what is wrong, let me know. :)

Thanks!

bouncer18 10-02-2002 05:02 AM

try to make a new post...

see if it shows up when ya do that.

and yes, polls will work tomorrow.. tonight they are not working

The Piper 10-02-2002 05:10 AM

Yep, that worked. :) I'm *very* happy with my new vbHome, which should be going online soon. TECK will definately be nominated hacker of the month if that depends on me. This is just super!! Thanks, TECK, for updating this great script and thanks everyone for the help with installing it. :)

BTW, I was just trying to integrate the Welcome Panel, so it would show in the main part (above the articles). Did any of you manage to find a way to do so? I had a hard time with the HTML formatting and ended up giving up so I could go to bed and get some sleep before the morning. :)

bouncer18 10-02-2002 05:17 AM

Teck..

I know this is asking alot but...

it the banner section.. is it possible to have it show random banners each time the page is loaded or during a set interval..

TECK 10-02-2002 05:38 AM

ya, install PPN's advertisement hack... let me know if you are still here, i see you on the thread...

TECK 10-02-2002 05:39 AM

and redownload again the file, i uploaded the wrong printarticle.php file.
make sure you clean your browser cache before...

bouncer18 10-02-2002 05:52 AM

ya ya i am here.. lol

question is what are YOU doing here

bouncer18 10-02-2002 05:56 AM

thats what i am using right now

no permissions

long snippet

Code:

code? i dont see no code... :)

bouncer18 10-02-2002 05:58 AM

would it no be easier for you to just make it so site polls cant be posted unless its in the NEWS section...

on my site i have NEWS locked down to no new posts unless your super admin or higher

otherwise you wait for an admin to allow it.

that way you can bypass all the problems with the $ipollperms correct?

TECK 10-02-2002 06:00 AM

i dont recommend it. because if you have a theme poll that it belongs to a specific forum then you you can discuss it in the right forum and have also the poll on the main page...

bouncer18 10-02-2002 06:01 AM

then again with the $ipol...etc..

only certain people on "access list" can make it show up on the main page.. so yea, your idea is better (if thats how i understand how it works)

bouncer18 10-02-2002 06:05 AM

np. done

TECK 10-02-2002 06:07 AM

thanks. :) so is it working? the poll? like that with no perms?

bouncer18 10-02-2002 06:10 AM

Yes sir it does


All times are GMT. The time now is 10:54 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.02577 seconds
  • Memory Usage 1,799KB
  • 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
  • (1)bbcode_code_printable
  • (2)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
  • (3)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