![]() |
Yup, thanks, and check your PMs. :)
|
Tigga, I need your help bad. I recently upgraded my forums to 2.3.0 and upgraded myvbindex to 3.2.2 and I got sooooo many bugs with all the old hacks i used to have. Basically I will list the problems which most are happening with myvbindex. As you know I have that include file we made a while back. Well as you can see by going to www.ar-racing.com
my polls doesnt work. (It supposed to take a random poll from the poll forum) Also I am having way way too many queries on myvbindex and forums now. My online buddies thing doesnt work. Basically if you have no buddies it works fine but if you have a buddy that is online it doenst show anytihng. Also for some reason my phpadsnew header is not working but my footer is on my forums at www.ar-racing.com/forums I tried making new invocation code but still nothing. I have no clue why. Oh back to myvbindex, the new index file right now only require's global. When I try to make it require include and of course the include file requires the global. Then when i try to bring up the page nothing happens. Totally white blank page. I am lost as to what to do and need your help real bad. Please email me at randy@ar-racing.com or you can reply here or you can instant message me on AIM at TeamRevMA Thanks, randy |
you are aware when you upgrade, you need to make new file edits right?
your site seems to be working fine, as a guest god thats annoyingly bad msuic |
Taken from the F.A.Q ;)
Q. I just upgraded to a new version of vBulletin and now my index page is blank or templates are missing! A. Upgrading to a new version of vBulletin will remove any templates that were created for mYvBindex with the exception of any that you have customized. To re-install the templates, upload the myvb_install.php file to your forums/admin folder and go to it in your browser. Then select the option to install just the templates. |
hey tigga check your pms?
|
what if i picked the option to upgrade from 3.1? cause thats what i did?
|
Faranth - Already replied. :)
arracing - Run this query through phpMyAdmin first: DELETE FROM template WHERE title='index_welcometext' OR title='index_buddy_none' OR title='index_polldiscuss' OR title='index_polledit' OR title='index_polloptions' OR title='index_threadbit' OR title='index_welcometext' AND templatesetid='-1'; Then chose the option in the install file to install only the templates and it should fix the problem. |
ok cool, I think I can figure out the rest from here. But I still dont understand why I am getting the high query count? Is this normal, 26 for myvbindex and 23 for my forums? With my old setup I know I was somewhere near 10 I thought.
Also tigga, Im not sure what you do for a living, but if I paid you to design websites for me and admin them. Would you do that, and how much is that worth to ya? My business is just starting to take off and by 2005 Iwill need a dedicated web guy who I am looking to hire. I have an entertainment company and we will be getting into many different markets in the future. Right now we are concentrating on the tuner scene. Thx. |
by the way your site is awsome. I was checking it out briefly. I also know that your everywhere helping people so thats why I am asking to see if you want a job. lol
|
im not speaking for him but that would probally be failry expensive
|
Well I am willing to pay what a fair salary is for a web designer. This is if he wanted to be hired that is. Tigga email me about this, instead of replying here if you are interested.
|
arracing - The query count does sound high since you don't have some of the more intensive options turned on. Once you have the templates re-installed though it should fix that.
Right now I'm working full time for a web design company, plus I also run a club/rave promotion company. I haven't had that much time to take on extra projects lately, but if you'd like to email me with some more details about the site, what you'd like done, and a timeframe of when/how fast the work needs to be done, then I can let you know if it's something I would be able to do and give you an estimate if so. :) |
OMG Tigga I can't wait till it's released.. It's gonna be the first hack I install.. HURRRRRY. Your site looks great too.
|
i assume you mean for vb3?
|
where is that white background coming from that is behind the main logo at the top left. I want it to be that baby blue color. I cannot find which template is calling that white background. Do u know?
Also I re-installed the templates but the query count still remained high. |
two ways to fix this, go to your templates find header. open it and copy it, then go to myvbindex > index_header i think and open that, and paste it in there, that should work
i belive the other is to change the gettemplate function at the top, instead of index_header, change it to header try the top one first however |
Arracing - You should modify your index_header template as Faranth suggested, but if you copy your normal header be sure to add $bburl in front of each of the links, otherwise they'll be broken. ;)
As far as the queries, if you'd like to put your server in debug mode (Add $debug=1; somewhere in your admin/config.php file), then go to the url http://yoursite.com/index.php?explain=1 If you'll do that and post the results here I'll see what is causing the extra queries. |
im getting rather good with this one :D
|
I did what you guys said with the headers and it didnt remove the white stripe. The stripe shows up in my forums header anyways, I just dont want it to show on myvbindex page.
Query: SELECT template FROM template WHERE title='options' Time before: 0.067090034484863 Time after: 0.069048047065735 table type possible_keys key key_len ref rows Extra template ref title title 30 const 1 Using where -------------------------------------------------------------------------------- Query: SELECT sessionhash,userid,host,useragent,styleid FROM session WHERE lastactivity>1059162995 AND sessionhash='dc0592577954f6fe5d940af59f88d8c3' AND (host='68.41.47.235' OR (althash='' AND althash<>'')) AND useragent='Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;' Time before: 0.081784009933472 Time after: 0.082612991333008 table type possible_keys key key_len ref rows Extra session const PRIMARY PRIMARY 32 const 1 -------------------------------------------------------------------------------- Query: SELECT user.*,userfield.* FROM user LEFT JOIN userfield ON userfield.userid=user.userid WHERE user.userid='1' Time before: 0.083825945854187 Time after: 0.085193991661072 table type possible_keys key key_len ref rows Extra user const PRIMARY PRIMARY 4 const 1 userfield const PRIMARY PRIMARY 4 const 1 -------------------------------------------------------------------------------- Query: SELECT templatesetid,replacementsetid,userselect FROM style WHERE styleid='1' Time before: 0.087414979934692 Time after: 0.088251948356628 table type possible_keys key key_len ref rows Extra style const PRIMARY PRIMARY 2 const 1 -------------------------------------------------------------------------------- Query: SELECT template,title FROM template WHERE (title IN ('index','index_header','index_footer','headinclud e','index_welcometext','index_ logincode','index_buddy','index_buddylist','index_ buddypmlink','forumhome_logged inuser','index_online','index_search','index_welco metext_avatar','index_calendar ','index_calendar_todaysevents','index_weather','i ndex_custom1','index_custom2', 'index_stats','index_birthdaybits','index_threadbi t','index_newsbits','index_new s_adminopts','index_news_comments','index_news_com mentnull','index_news_readmore ','index_newsbits_rating','index_newsbits_signatur e','index_newsbits_avatar','in dex_newsbits_sendtofriend','index_newsbits_printab le','showthread_ratingdisplay' ,'index_pollresult','index_polloption_multiple','i ndex_polloption','index_pollop tions','index_pollresults_voted','index_pollresult s_closed','index_pollreview',' index_pollresults','index_polldiscuss','index_poll edit','','gobutton','timezone' ,'username_loggedout','username_loggedin','phpincl ude','headinclude','header','f ooter','forumjumpbit','forumjump','nav_linkoff','n av_linkon','navbar','nav_joine r','pagenav','pagenav_curpage','pagenav_firstlink' ,'pagenav_lastlink','pagenav_n extlink','pagenav_pagelink','pagenav_prevlink','mi crostats') AND (templatesetid=-1 OR templatesetid=1)) OR (title = 'maxloggedin') OR (title = 'birthdays') ORDER BY templatesetid Time before: 0.089380025863647 Time after: 0.10731399059296 table type possible_keys key key_len ref rows Extra template range title title 32 131 Using where; Using filesort -------------------------------------------------------------------------------- Query: update vbstats_counter set count=count+1 where (type='total' and var='hits') or (var='MSIE' and type='browser') or (var='Windows' and type='os') Time before: 0.1263689994812 Time after: 0.12737095355988 -------------------------------------------------------------------------------- Query: update vbstats_countries set hits = hits+1 where code = 'us' Time before: 0.12776899337769 Time after: 0.12833797931671 -------------------------------------------------------------------------------- Query: Select date from vbstats_date WHERE date='2003-07-25' Time before: 0.12861597537994 Time after: 0.12964296340942 table type possible_keys key key_len ref rows Extra vbstats_date ALL 248 Using where -------------------------------------------------------------------------------- Query: UPDATE vbstats_date set count = count+1 where date = '2003-07-25' Time before: 0.13033998012543 Time after: 0.13225495815277 -------------------------------------------------------------------------------- Query: SELECT * FROM usergroup WHERE usergroupid=6 Time before: 0.13749396800995 Time after: 0.13856601715088 table type possible_keys key key_len ref rows Extra usergroup const PRIMARY PRIMARY 2 const 1 -------------------------------------------------------------------------------- Query: SELECT count(*) AS count FROM post WHERE dateline>='1059152592' Time before: 0.14228403568268 Time after: 0.35819399356842 table type possible_keys key key_len ref rows Extra post ALL 26582 Using where -------------------------------------------------------------------------------- Query: SELECT COUNT(*) AS messages FROM privatemessage WHERE userid='1' AND messageread='0' AND folderid='0' Time before: 0.35933005809784 Time after: 0.36073505878448 table type possible_keys key key_len ref rows Extra privatemessage ref userid userid 4 const 45 Using where -------------------------------------------------------------------------------- Query: SELECT userid,username,invisible,lastactivity,lastvisit FROM user WHERE (user.userid='143' OR user.userid='134' OR user.userid='160' OR user.userid='121' OR user.userid='118') AND lastactivity > 1059162995 AND lastvisit!=lastactivity ORDER BY username Time before: 0.36296999454498 Time after: 0.36397504806519 table type possible_keys key key_len ref rows Extra user range PRIMARY PRIMARY 4 5 Using where; Using filesort -------------------------------------------------------------------------------- Query: SELECT template FROM template WHERE title='index_buddy_none' AND (templatesetid=-1 OR templatesetid=1) ORDER BY templatesetid DESC LIMIT 1 Time before: 0.36498701572418 Time after: 0.36581897735596 table type possible_keys key key_len ref rows Extra template range title title 32 2 Using where -------------------------------------------------------------------------------- Query: SELECT COUNT(*) AS sessions FROM session WHERE userid=0 AND lastactivity>1059162995 Time before: 0.36761403083801 Time after: 0.36813902854919 table type possible_keys key key_len ref rows Extra session ALL 3 Using where -------------------------------------------------------------------------------- Query: SELECT DISTINCT session.userid,username,invisible,usergroupid FROM session LEFT JOIN user ON (user.userid=session.userid) WHERE session.userid>0 AND session.lastactivity>1059162995 ORDER BY invisible ASC, username ASC Time before: 0.36893403530121 Time after: 0.36982703208923 table type possible_keys key key_len ref rows Extra session ALL 3 Using where; Using temporary; Using filesort user eq_ref PRIMARY PRIMARY 4 session.userid 1 -------------------------------------------------------------------------------- Query: SELECT forumid,canview FROM forumpermission WHERE usergroupid='6' Time before: 0.37197494506836 Time after: 0.37254595756531 table type possible_keys key key_len ref rows Extra forumpermission ref ugid_fid ugid_fid 2 const 1 Using where -------------------------------------------------------------------------------- Query: SELECT forumid,parentid,displayorder FROM forum WHERE displayorder<>0 ORDER BY parentid,displayorder Time before: 0.37338399887085 Time after: 0.37498998641968 table type possible_keys key key_len ref rows Extra forum ALL 51 Using where; Using filesort -------------------------------------------------------------------------------- Query: SELECT thread.pollid, open, threadid, replycount, question, poll.dateline, options, votes, active, numberoptions, timeout, multiple, voters FROM thread LEFT JOIN poll ON (thread.pollid=poll.pollid) WHERE forumid='71' AND thread.pollid!='0' ORDER BY poll.pollid DESC LIMIT 1 Time before: 0.37878203392029 Time after: 0.38135600090027 table type possible_keys key key_len ref rows Extra thread ref forumid forumid 2 const 12 Using where; Using temporary; Using filesort poll eq_ref PRIMARY PRIMARY 4 thread.pollid 1 -------------------------------------------------------------------------------- Query: SELECT smilietext,smiliepath FROM smilie Time before: 0.38301599025726 Time after: 0.38529205322266 table type possible_keys key key_len ref rows Extra smilie ALL 193 -------------------------------------------------------------------------------- Query: SELECT pollvoteid FROM pollvote WHERE userid='1' AND pollid='92' Time before: 0.4006199836731 Time after: 0.40136098861694 table type possible_keys key key_len ref rows Extra pollvote ref userid userid 8 const,const 1 Using where -------------------------------------------------------------------------------- Query: SELECT threadid,thread.title,replycount,postusername,post userid,dateline,views,lastpost er,lastpost,thread.iconid as iconid,icon.title as icontitle,icon.iconpath as iconpath FROM thread LEFT JOIN icon ON icon.iconid=thread.iconid WHERE open<>10 ORDER BY lastpost DESC LIMIT 10 Time before: 0.43457794189453 Time after: 0.45274901390076 table type possible_keys key key_len ref rows Extra thread ALL 2639 Using where; Using filesort icon eq_ref PRIMARY PRIMARY 2 thread.iconid 1 -------------------------------------------------------------------------------- Query: SELECT thread.threadid,thread.title,replycount,postuserna me,postuserid,thread.dateline, views,thread.iconid,votenum,votetotal,postid,paget ext,allowsmilie,showsignature, signature ,thread.iconid as iconid,icon.title as icontitle,icon.iconpath as iconpath FROM thread LEFT JOIN post ON (thread.threadid=post.threadid) LEFT JOIN user ON (user.userid=post.userid) LEFT JOIN icon ON icon.iconid=thread.iconid WHERE forumid='66' AND isnews='Y' AND open<>10 GROUP BY thread.threadid ORDER BY thread.threadid DESC LIMIT 10 Time before: 0.46166598796844 Time after: 0.46672296524048 table type possible_keys key key_len ref rows Extra thread ref forumid forumid 2 const 8 Using where; Using temporary; Using filesort post ref threadid threadid 4 thread.threadid 11 Using where user eq_ref PRIMARY PRIMARY 4 post.userid 1 icon eq_ref PRIMARY PRIMARY 2 thread.iconid 1 -------------------------------------------------------------------------------- Query: SELECT bbcodetag,bbcodereplacement,twoparams FROM bbcode Time before: 0.48248398303986 Time after: 0.48327898979187 table type possible_keys key key_len ref rows Extra bbcode ALL 9 -------------------------------------------------------------------------------- Query: SELECT eventdate,subject,eventid,public FROM calendar_events WHERE eventdate LIKE '2003-07-%' AND ((userid='1' AND public='0') OR (public='1')) Time before: 0.76708197593689 Time after: 0.76792299747467 table type possible_keys key key_len ref rows Extra calendar_events ALL userid 12 Using where -------------------------------------------------------------------------------- Query: SELECT template FROM template WHERE title='index_rotm' AND (templatesetid=-1 OR templatesetid=1) ORDER BY templatesetid DESC LIMIT 1 Time before: 0.77690303325653 Time after: 0.77811396121979 table type possible_keys key key_len ref rows Extra template range title title 32 2 Using where -------------------------------------------------------------------------------- Query: SELECT findword, replaceword, replacementsetid FROM replacement WHERE replacementsetid IN(-1, '1') ORDER BY replacementsetid, replacementid DESC Time before: 0.79495394229889 Time after: 0.79683399200439 table type possible_keys key key_len ref rows Extra replacement ALL replacementsetid 56 Using where; Using filesort -------------------------------------------------------------------------------- Page generated in 0.78423702716827 seconds with 27 queries, spending 0.28480398654938 doing MySQL queries and 0.4994330406189 doing PHP things. Query: UPDATE session SET lastactivity=1059163895,location='/index.php?explain=1' WHERE sessionhash='dc0592577954f6fe5d940af59f88d8c3' Time before: 0.82737004756927 Time after: 0.8279869556427 -------------------------------------------------------------------------------- Query: UPDATE user SET lastactivity=1059163895,inforum='0' WHERE userid='1' Time before: 0.82818400859833 Time after: 0.82877898216248 |
I also noticed that my poll is not picking random polls from the poll menu. And Also in my latest threads, they are taking threads from private forums.
|
im not sure if you did, if you copied the header from header and copied it into index_header
it would display your header :P and take that awful music off your page :\ if you dont want that white stripe, find Code:
<td valign="top" align="left" background="/forums/images/menu_background.gif"> Code:
<td valign="top" align="left" > that is on your index_header |
white stripe is still their. If I remove the logo the stripe goes away. But once a logo is inserted, it creates that table with the white background it.
I tried what you guys said but nothing has helped yet. I put the code back to the way it was so that is what you are seeing now. |
If you'll add 'index_rotm' and 'index_buddy_none' to the templatesused section at the top of the file, that will remove 2 of the queries. Apparently 4 others are coming from your vBstats hack in your global.php file...
-------------------------------------------------------------------------------- Query: update vbstats_counter set count=count+1 where (type='total' and var='hits') or (var='MSIE' and type='browser') or (var='Windows' and type='os') Time before: 0.1263689994812 Time after: 0.12737095355988 -------------------------------------------------------------------------------- Query: update vbstats_countries set hits = hits+1 where code = 'us' Time before: 0.12776899337769 Time after: 0.12833797931671 -------------------------------------------------------------------------------- Query: Select date from vbstats_date WHERE date='2003-07-25' Time before: 0.12861597537994 Time after: 0.12964296340942 table type possible_keys key key_len ref rows Extra vbstats_date ALL 248 Using where -------------------------------------------------------------------------------- Query: UPDATE vbstats_date set count = count+1 where date = '2003-07-25' Time before: 0.13033998012543 Time after: 0.13225495815277 -------------------------------------------------------------------------------- As for the polls, make sure that you have the poll templates and that you have "RAND" entered for the polls forum id. The threads from you private forums will only be visible to those who have permission to view them, assuming you have your forum permissions set correctly. ;) |
this should get rid of your white line problem. altho if you like it on your forums it will cause a problem
|
where is the templates used section? Is it in the global.php file also under start templates
$templatesused.='gobutton,timezone,username_logged out,username_loggedin,phpinclu de,headinclude,header,footer,forumjumpbit,forumjum p,nav_linkoff,nav_linkon,navba r,nav_joiner'; $templatesused.=',pagenav,pagenav_curpage,pagenav_ firstlink,pagenav_lastlink,pag enav_nextlink,pagenav_pagelink,pagenav_prevlink,mi crostats'; |
what are you trying to take out?
|
I figured out the templates thing was in myvbindex.
As far as the polls random thing I am confused. I only want the polls picked at random from the polls forum only. Dont I have to change some code in the myvbindex file for this? |
no idea on my part, as far as i know its not a built in thing :\
|
Also here is the explain thing for my forums, can you show me how to get rid of some queries their?
Query: SELECT template FROM template WHERE title='options' Time before: 0.07497501373291 Time after: 0.07695198059082 table type possible_keys key key_len ref rows Extra template ref title title 30 const 1 Using where -------------------------------------------------------------------------------- Query: SELECT sessionhash,userid,host,useragent,styleid FROM session WHERE lastactivity>1059168462 AND sessionhash='91adba9914cb16019f205696dda10b35' AND (host='68.41.47.235' OR (althash='' AND althash<>'')) AND useragent='Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;' Time before: 0.09148097038269 Time after: 0.092326998710632 table type possible_keys key key_len ref rows Extra session const PRIMARY PRIMARY 32 const 1 -------------------------------------------------------------------------------- Query: SELECT user.*,userfield.* FROM user LEFT JOIN userfield ON userfield.userid=user.userid WHERE user.userid='1' Time before: 0.093616008758545 Time after: 0.095041990280151 table type possible_keys key key_len ref rows Extra user const PRIMARY PRIMARY 4 const 1 userfield const PRIMARY PRIMARY 4 const 1 -------------------------------------------------------------------------------- Query: SELECT templatesetid,replacementsetid,userselect FROM style WHERE styleid='1' Time before: 0.097440004348755 Time after: 0.098170042037964 table type possible_keys key key_len ref rows Extra style const PRIMARY PRIMARY 2 const 1 -------------------------------------------------------------------------------- Query: SELECT template,title FROM template WHERE (title IN ('forumhome_birthdaybit','error_nopermission','for umhome_pmloggedin','forumhome_ welcometext','forumhome_logoutcode','forumhome_new posts','forumhome_todayposts', 'forumhome_logincode','forumhome_loggedinuser','fo rumhome_loggedinusers','forumh ome_lastpostby','forumhome_moderator','forumhome_f orumbit_level1_nopost','forumh ome_forumbit_level1_post','forumhome_forumbit_leve l2_nopost','forumhome_forumbit _level2_post','forumhome','forumhome_unregmessage' ,'index_rotm','index_buddy_non e','gobutton','timezone','username_loggedout','use rname_loggedin','phpinclude',' headinclude','header','footer','forumjumpbit','for umjump','nav_linkoff','nav_lin kon','navbar','nav_joiner','pagenav','pagenav_curp age','pagenav_firstlink','page nav_lastlink','pagenav_nextlink','pagenav_pagelink ','pagenav_prevlink','microsta ts') AND (templatesetid=-1 OR templatesetid=1)) OR (title = 'maxloggedin') OR (title = 'birthdays') ORDER BY templatesetid Time before: 0.099313974380493 Time after: 0.11214196681976 table type possible_keys key key_len ref rows Extra template range title title 32 87 Using where; Using filesort -------------------------------------------------------------------------------- Query: update vbstats_counter set count=count+1 where (type='total' and var='hits') or (var='MSIE' and type='browser') or (var='Windows' and type='os') Time before: 0.1307510137558 Time after: 0.13244700431824 -------------------------------------------------------------------------------- Query: update vbstats_countries set hits = hits+1 where code = 'us' Time before: 0.13284802436829 Time after: 0.13345098495483 -------------------------------------------------------------------------------- Query: Select date from vbstats_date WHERE date='2003-07-25' Time before: 0.13375794887543 Time after: 0.13481605052948 table type possible_keys key key_len ref rows Extra vbstats_date ALL 248 Using where -------------------------------------------------------------------------------- Query: UPDATE vbstats_date set count = count+1 where date = '2003-07-25' Time before: 0.13570702075958 Time after: 0.13771498203278 -------------------------------------------------------------------------------- Query: SELECT * FROM usergroup WHERE usergroupid=6 Time before: 0.14379394054413 Time after: 0.14503705501556 table type possible_keys key key_len ref rows Extra usergroup const PRIMARY PRIMARY 2 const 1 -------------------------------------------------------------------------------- Query: SELECT COUNT(*) AS messages FROM privatemessage WHERE userid=1 Time before: 0.14890003204346 Time after: 0.14967596530914 table type possible_keys key key_len ref rows Extra privatemessage ref userid userid 4 const 45 Using where; Using index -------------------------------------------------------------------------------- Query: SELECT COUNT(*) AS messages FROM privatemessage WHERE userid=1 AND dateline>1059165043 AND folderid=0 Time before: 0.15060794353485 Time after: 0.15190196037292 table type possible_keys key key_len ref rows Extra privatemessage ref userid userid 4 const 45 Using where -------------------------------------------------------------------------------- Query: SELECT COUNT(*) AS messages FROM privatemessage WHERE userid=1 AND messageread=0 AND folderid=0 Time before: 0.15289795398712 Time after: 0.15412402153015 table type possible_keys key key_len ref rows Extra privatemessage ref userid userid 4 const 45 Using where -------------------------------------------------------------------------------- Query: SELECT COUNT(*) AS users,MAX(userid) AS max FROM user Time before: 0.15628504753113 Time after: 0.15683901309967 table type possible_keys key key_len ref rows Extra -------------------------------------------------------------------------------- Query: SELECT COUNT(*) AS posts FROM post Time before: 0.15768694877625 Time after: 0.15807497501373 table type possible_keys key key_len ref rows Extra -------------------------------------------------------------------------------- Query: SELECT COUNT(*) AS threads FROM thread Time before: 0.15872097015381 Time after: 0.15909194946289 table type possible_keys key key_len ref rows Extra -------------------------------------------------------------------------------- Query: SELECT userid,username FROM user WHERE userid=390 Time before: 0.15973997116089 Time after: 0.16027796268463 table type possible_keys key key_len ref rows Extra user const PRIMARY PRIMARY 4 const 1 -------------------------------------------------------------------------------- Query: SELECT * FROM forum WHERE displayorder<>0 AND active=1 ORDER BY parentid,displayorder Time before: 0.16230797767639 Time after: 0.16545104980469 table type possible_keys key key_len ref rows Extra forum ALL 51 Using where; Using filesort -------------------------------------------------------------------------------- Query: SELECT forumid,canview,canpostnew FROM forumpermission WHERE usergroupid='6' Time before: 0.17623496055603 Time after: 0.17706000804901 table type possible_keys key key_len ref rows Extra forumpermission ref ugid_fid ugid_fid 2 const 1 Using where -------------------------------------------------------------------------------- Query: SELECT forumid,accessmask FROM access WHERE userid='1' Time before: 0.17811703681946 Time after: 0.17866396903992 table type possible_keys key key_len ref rows Extra access ref userid userid 4 const 1 Using where -------------------------------------------------------------------------------- Query: SELECT user.userid,user.username,moderator.forumid FROM moderator LEFT JOIN user ON (moderator.userid=user.userid) ORDER BY user.username Time before: 0.17950904369354 Time after: 0.18144702911377 table type possible_keys key key_len ref rows Extra moderator index userid 6 42 Using index; Using temporary; Using filesort user eq_ref PRIMARY PRIMARY 4 moderator.userid 1 -------------------------------------------------------------------------------- Query: SELECT COUNT(*) AS sessions FROM session WHERE userid=0 AND lastactivity>1059168462 Time before: 0.18493902683258 Time after: 0.18557298183441 table type possible_keys key key_len ref rows Extra session ALL 4 Using where -------------------------------------------------------------------------------- Query: SELECT DISTINCT session.userid,username,invisible,usergroupid FROM session LEFT JOIN user ON (user.userid=session.userid) WHERE session.userid>0 AND session.lastactivity>1059168462 ORDER BY invisible ASC, username ASC Time before: 0.29781603813171 Time after: 0.29889500141144 table type possible_keys key key_len ref rows Extra session ALL 4 Using where; Using temporary; Using filesort user eq_ref PRIMARY PRIMARY 4 session.userid 1 -------------------------------------------------------------------------------- Query: SELECT findword, replaceword, replacementsetid FROM replacement WHERE replacementsetid IN(-1, '1') ORDER BY replacementsetid, replacementid DESC Time before: 0.42030394077301 Time after: 0.42234098911285 table type possible_keys key key_len ref rows Extra replacement ALL replacementsetid 56 Using where; Using filesort -------------------------------------------------------------------------------- Page generated in 0.40744400024414 seconds with 24 queries, spending 0.039765119552612 doing MySQL queries and 0.36767888069153 doing PHP things. Query: UPDATE session SET lastactivity=1059169362,location='/forums/index.php?explain=1' WHERE sessionhash='91adba9914cb16019f205696dda10b35' Time before: 0.47847700119019 Time after: 0.47915899753571 -------------------------------------------------------------------------------- Query: UPDATE user SET lastactivity=1059169362,inforum='0' WHERE userid='1' Time before: 0.47937405109406 Time after: 0.48000800609589 |
if you red the install it would tell you what options add querrys. and unless your server is under super high load, i wouldnt worry so much about your querie count
|
well, the thing is its not about added options. I think something is wrong cause the query counts seems to be significantly higher then before my upgrade. I had alot of hacks so I am unsure what is interfering with what. Just trying to clean up the mess a little.
|
whats with that music, i dont think its making much of a difference
and i dont think its much to worry about, but that music is damn annoying :\ like i said i dont think its a big deal |
It goes well with the concept of my forums. I like it.
|
why is it the random poll works say if you click one of the menu options. But on the main index it doenst work????
|
also how do i get that AR Racing image to size correctly with the rest of the index?
nevermind i got it. |
I saw this post https://vborg.vbsupport.ru/showthrea...671#post397671 on page 84 of this thread, and I have a similar question please.
Is it possible to get the "News" or the "Latest Threads" to display results from an entire Category, instead of only one forum (news), or all forums (latest threads)? Thanks Jbear6 |
well doing the entire forum, every time a new topic was posted it would display on the front page, i think this might add alot of queries but im not sure
|
sorry
i didn't read all 104 pages of this thread but i just upgraded to VB3 beta 4 and it killed my myvbindex portal is ther a way to make it work with VB 3 ?? thank you |
Quote:
I have three main categories, each with sub categories, and postable forums under the sub categories. I would like to pull the Latest Threads from the postable forums located under one Category only, not the whole board. Thanks, Jbear6 |
Quote:
|
All times are GMT. The time now is 11:06 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|