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)

TECK 10-02-2002 06:11 AM

ok... how but if you add only the $iforumperms
it should work also. the problem is that it doesnt grab all the time the information stored from the vBulletin options.. that's the problem.

$activepollusers is the poll user settings in the admic CP, who can post polls.

bouncer18 10-02-2002 06:15 AM

correct, now it does not work (added $forumperms)

sorry.. typo

bouncer18 10-02-2002 06:18 AM

Right now only #1 is on there..

so.. i dont think it would work... want me to try that code anyways?

bouncer18 10-02-2002 06:20 AM

regardless, i tried it

with both 1
1 2
and 1,2

same as before, no work

bouncer18 10-02-2002 06:23 AM

wait..got something here..

its working..

bouncer18 10-02-2002 06:23 AM

so now it works
sometimes it doesnt..

i am soo confused..

LeeCHeSSS 10-02-2002 06:24 AM

Quote:

Originally posted by TECK
thanks for your offer but i dont accept money.
all i ask in return for my work is to have 2 links displayed as they are, intact.

Well then, if that REALLY is all you want, you shall have it :)
But remember that if you ever reconsider on not accepting money, drop me a message!

Anyway, just woke up and am gonna install 3.2 now to see if I can get the poll working (was having the same problem as bouncer18).

So far I'm extremely happy with how vbHome is developing!

TECK 10-02-2002 06:25 AM

wait 2 minutes leechesss.. i'm updating the file.. :)

bouncer18 10-02-2002 06:26 AM

we have changed both $ipollperms and $forumperms tons of times now...

what i did was delete that comma.. test'ed it.. put it back and boom it worked.. weird stuff man.. want me to try adding $forumperms back and see what happens?

TECK 10-02-2002 06:26 AM

it will not work, i know. :)
try it.

LeeCHeSSS 10-02-2002 06:27 AM

Ok, waiting...

You are so fast, this almost looks like a chat ;)

bouncer18 10-02-2002 06:28 AM

yep, doesnt work

so blah.. let the token remain.. i just wont call the function (VB talk.. not sure how to talk like a php master lol)

and yea.. this does look like a chat.. amen quick reply

bouncer18 10-02-2002 06:30 AM

i checked my old instance of the token $ipollperms and they are both the same?????

so for curiousity.. what made it work now and not the few other times before?

LeeCHeSSS 10-02-2002 06:33 AM

ARGH, my site just went down due to too many sql connections *wish I had changed from vbPortal to vbHome earlier now*

bouncer18 10-02-2002 06:34 AM

Page generated in 0.25461304 seconds (74.72% PHP - 25.28% MySQL) with 17 queries.

i am sure i could cut 2 more out but since i dont got access to phpmyadmin i am stuck

gotta love it tho :) again, fantastic job teck

TECK 10-02-2002 06:35 AM

ok, leechesss please empty your browser from old temporary files.. just to make sure:
Tools > Internet Options > Delete Files > All offline content > Ok

then download the file. in this way we are sure you get the latest version....

TECK 10-02-2002 06:37 AM

bouncer, you are not stuck... :)
open config.php and add the debug like this:
Code:

$debug = "1";

?>

then do a explain=1 in the thread:
index.php?explain=1

just make sure to remove the debug mode after your are done checking the queries.. but 17queries is about what you get with all options enabled on the page.

LeeCHeSSS 10-02-2002 06:38 AM

Oh btw, with vbHome 3.1 I got 16 queries even though I had everything activated. Odd eh?

*downloading now*

TECK 10-02-2002 06:39 AM

i added quite few options.. is normal..
17 is the same like vbulletin page.. so we are ok... ;)
is alot better then 50, i guess...

LeeCHeSSS 10-02-2002 06:42 AM

Sure is, my vbPortal was using 52 queries...

bouncer18 10-02-2002 06:43 AM

ahh time online hack

thats where 2 more queries are comming from.

owell.. cant complain..
its better then most

TECK 10-02-2002 06:43 AM

i made it to dont use any query me.. :) there are ways to sneak around...
i posted in his thread the fix for no queries... and also now to cut down the server load he had before.

bouncer18 10-02-2002 06:44 AM

Ok so whats next teck!

im starting to get the hang of this!

lol go to bed.. your wife is gonna be pissed

LeeCHeSSS 10-02-2002 06:49 AM

Bouncer, is that the default look of vbHome 3.2 you got on your site now?

bouncer18 10-02-2002 06:51 AM

Yes

except for:
Header
Footer
Colors

LeeCHeSSS 10-02-2002 06:52 AM

Ah thank god, or rather Teck!

I was beginning to worry that with the rate of which he puts out new versions (which is good), I'd have to re-edit the templates ALL the time.

But that looks almost similar to my layout, so.

TECK 10-02-2002 06:55 AM

bouncer, you have the wrong version or printarticle.php, clean your temp files and redownload the package again :)

leechlesss, from now on i will also release upgrades, with the way i wrote the code now.. :)
so you run the upgrade and you are done.. very fast...

bouncer18 10-02-2002 06:56 AM

Powered by: vbHome (lite) v3.2 and vBulletin v2.2.8

this not correct?

btw.. HAHAHAHA

Warning: Too many connections in /home/onlinero/public_html/forums/admin/db_mysql.php on line 40

Warning: MySQL Connection Failed: Too many connections in /home/onlinero/public_html/forums/admin/db_mysql.php on line 40



man trash vbportal QUICK!

LeeCHeSSS 10-02-2002 06:57 AM

Cool!

Anyway, I can't do anything while waiting for my server to return to business *hate being on a shared server*

TECK 10-02-2002 06:57 AM

what do you mean? is correct. you can take out the versions if you want.

bouncer18 10-02-2002 07:02 AM

Quote:

Originally posted by TECK
bouncer, you have the wrong version or printarticle.php, clean your temp files and redownload the package again :)

leechlesss, from now on i will also release upgrades, with the way i wrote the code now.. :)
so you run the upgrade and you are done.. very fast...

and my reply was.. i thought i had the right one

bah cleaning, and redling JUST for you :)
hehe

TECK 10-02-2002 07:04 AM

is good to use the right file. i noticed that because i have a different type of perms set for it.. since is a news file, it should be viewed even by quests.

bouncer18 10-02-2002 07:14 AM

its guest viewable..

they just cant see much more then whats on the main page without registering.

TECK 10-02-2002 07:15 AM

click on the printarticle to see. as a guest.

bouncer18 10-02-2002 07:20 AM

mmm i see what your saying.....

will fix

TECK 10-02-2002 07:22 AM

np.. but you did uploaded the printarticle file that says at the top the vbhome version? right under require global?

bouncer18 10-02-2002 07:23 AM

yes i did

going to redownload it and upload it again to make sure its the right one right now

TECK 10-02-2002 07:24 AM

if it says inside the file v3.2, at the top... you are ok :)

bouncer18 10-02-2002 07:26 AM

closed all browsers
opened it back up
deleted zip
cleared temp
redownloaded

printarticle does same thing as it did before...

andyea, says 3.2 up top

bouncer18 10-02-2002 07:27 AM

no worries, if they wanna print it, they can register... :)


All times are GMT. The time now is 09:10 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.02561 seconds
  • Memory Usage 1,789KB
  • 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_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