vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBadvanced Homepage (https://vborg.vbsupport.ru/showthread.php?t=59803)

mazro3e 03-24-2004 03:24 AM

hi there i change it to gold
and still got this prolem

i reinstal the tampel.

Database error in vBulletin 3.0.0:

Invalid SQL: SELECT thread.threadid, thread.title, replycount, postusername, postuserid, thread.dateline, IF(views<=replycount, replycount+1, views) AS views, forumid, thread.iconid, votenum, votetotal, post.postid, pagetext, allowsmilie, showsignature
, avatarpath, NOT ISNULL(avatardata) AS hascustom, customavatar.dateline AS avatardateline
,thread.iconid
,attachment.filename, filesize, attachment.visible, attachmentid, counter, thumbnail, LENGTH(thumbnail) AS thumbnailsize
FROM thread AS thread
LEFT JOIN post AS post ON (post.postid = thread.firstpostid)
LEFT JOIN user AS user ON (user.userid = post.userid)
LEFT JOIN avatar as avatar ON (avatar.avatarid = user.avatarid)
LEFT JOIN customavatar as customavatar ON (customavatar.userid = user.userid)
LEFT JOIN attachment AS attachment ON (post.postid = attachment.postid)
WHERE forumid IN(20)
GROUP BY post.postid
ORDER BY dateline DESC, attachmentid LIMIT 5
mysql error: Column: 'filesize' in field list is ambiguous

mysql error number: 1052

Date: Tuesday 23rd of March 2004 11:19:58 PM
Script: http://www.brajel.net/
Referer:

ChuanSE 03-24-2004 05:26 AM

Quote:

Originally Posted by d3nnis
can try if u have the duplicate buddy issue (see my post above)?

by the way haven upgrade to vb 3 gold final? :nervous:

and i think u need a <br /> between your poll and calendar :ermm:

Heya D3nnis,

To give you answers

1) duplicate buddy, dunno what ya mean?
2)i could upgrade to gold, and will do it sometime, but all my hacks are installed on RC4. I don't have the courage to go over all those *.php mod's again :p
3)indeed, a <br /> is missing


One question: any idea why it doesn't wanna let me login on the adv_index.page?

cheers

https://vborg.vbsupport.ru/external/2004/04/1.php

ChuanSE 03-24-2004 05:30 AM

Quote:

Originally Posted by attroll
Found a glitch in the following templates:

calendar_smallmonth_day
calendar_smallmonth_header

They have the following code that needs to be removed:
$vboptions[bburl]/

If you leave this code in when you click on the small calendar header or one of the dates then it will look in the in you Public_html directory.

That wouldn't be correct mate,

$vboptions[bburl]/ stands for the exact link that you entered in admincp for board url. You can only remove it when the adv_index.php file resides in your forumfolder...

I think it goes to your Public_html due to your server settings

d3nnis 03-24-2004 02:44 PM

Quote:

Originally Posted by ChuanSE
Heya D3nnis,

To give you answers

1) duplicate buddy, dunno what ya mean?
2)i could upgrade to gold, and will do it sometime, but all my hacks are installed on RC4. I don't have the courage to go over all those *.php mod's again :p
3)indeed, a <br /> is missing


One question: any idea why it doesn't wanna let me login on the adv_index.page?

cheers


https://vborg.vbsupport.ru/external/2004/04/1.php

for your question login : https://vborg.vbsupport.ru/showpost....&postcount=862

for my question on buddy :
https://vborg.vbsupport.ru/showpost....&postcount=855
https://vborg.vbsupport.ru/showpost....&postcount=857
https://vborg.vbsupport.ru/showpost....&postcount=858

Flow Fusion 03-25-2004 12:09 AM

Parse error: parse error in /hsphere/local/home/mojoblac/flowfusion.biz/forum/includes/functions_calendar.php on line 233

This is at the top of my forum page. I'll go over every thing again but perhaps someone can shed light.

Flow Fusion 03-25-2004 12:46 AM

Ê global $birthdaycache, $eventcache, $bbuserinfo, $vbphrase, $stylevar, $show, $offset, $colspan, $days, $months, $show, $vboptions;

Zachery 03-25-2004 12:53 AM

Quote:

Originally Posted by Flow Fusion
Parse error: parse error in /hsphere/local/home/mojoblac/flowfusion.biz/forum/includes/functions_calendar.php on line 233

This is at the top of my forum page. I'll go over every thing again but perhaps someone can shed light.

Youve imporperly hacked your functions_calendar file, start with a fresh copy

attroll 03-25-2004 03:46 AM

Here is a suggestion. Why not have a separate navbar for the vBadvanced homepage. I know what you all are going to say. Why not modify the one the way you want it. The reason you can not do this is because if you do then you have to keep into account that it will be the same navbar that is in the forums and where ever the end users goes. The reason I would like to have a separate one is because there are some things that I want in my homepage navbar that I do not want in the forums. For example I don’t want the items above the actual drop downs. I don’t need the folder name and the Welcome stats/login box. That is already included in the vBadvanced homepage. But I would like this displayed in the forums because some users login through the forums and the folder option is nice to have in the forums. But you can not change one because they are the same navbar called up for both.

ChuanSE 03-25-2004 05:22 AM

heya d3nnis,

I can't really say that i saw duplicate buddies before...
Will report if the error occurs ;)

then about the login prob:

you suggestion to change the login crumb will work without a doubt, but also me will feel more comfortable with a separate vbadvanced navbar template...

gonna experiment with that and your code adjustment & will post here if it works allright :D

cheers dudez

alain4ever 03-25-2004 06:45 AM

Quote:

Originally Posted by Eternal2u
just wondering, when are you guyz gona port this over to vb gold :S

i REALLY need my news script man :S

it works fine on vb3 Gold

use same steps, but In your includes/adminfunctions_template.php and instead of find ((( 'forumhome' => $vbphrase['forum_home'], )))

search for ((('forumhome' => $vbphrase['group_forum_home'])))

:)

Altered_Ego 03-25-2004 12:56 PM

I am getting the following errors....

Warning: chdir(): SAFE MODE Restriction in effect. The script whose uid is 523 is not allowed to access / owned by uid 0 in /home/shatter-box.com/html/index.php on line 15

Warning: main(): Unable to access ./global.php in /home/shatter-box.com/html/index.php on line 77

Warning: main(./global.php): failed to open stream: No such file or directory in /home/shatter-box.com/html/index.php on line 77

Fatal error: main(): Failed opening required './global.php' (include_path='.:/home/shatter-box.com') in /home/shatter-box.com/html/index.php on line 77

Flow Fusion 03-25-2004 03:13 PM

Same error any suggestions?

Altered_Ego 03-25-2004 04:41 PM

Not yet. I really have had a chance to play with it. I am hoping someone has a quick fix.

Areku 03-25-2004 05:01 PM

Sounds like a permissions problem on either the subdirs or the html folder itself...

Altered_Ego 03-25-2004 05:07 PM

Thats what I was thinking. How should I change it?

Areku 03-25-2004 05:14 PM

Have u tried disabling safe mode?

Altered_Ego 03-25-2004 05:20 PM

Is this in the ADMINCP were it says "Safe Mode Upload Enabled"

I have this checked NO...but when I view my php info it says Yes. How do I turn that off?

Areku 03-25-2004 05:33 PM

Tha'ts done on server level... do you have shell access to it?

hubba 03-25-2004 06:01 PM

Hm, it shows in the welcome back box the US Date

03-25-04 7:25 pm

any chance to change it to

25-03-04 19.26

??

Altered_Ego 03-25-2004 06:28 PM

Sorry guys. My brother was trying to figure this out for me. I was finally able to play with it. All I had to do was get the path correct and change my server's safe mod off.

hockyfan 03-25-2004 10:17 PM

Is there any way to remove the old version of the hack without installing vBadvanced?

h

Preds 03-26-2004 01:40 AM

Installed... still tinkering with it but overall its a nice enhancement portal to my forums.

Thanks!

Flow Fusion 03-26-2004 03:12 AM

Quote:

Originally Posted by Zachery
Youve imporperly hacked your functions_calendar file, start with a fresh copy

Nope every thing is installed correctly as the instructions stated. I was also wondering if this was correct?

chdir('/flowfusion.biz/forum/');

That is the file directory. Please help.

attroll 03-26-2004 04:36 AM

In the "index" template there is a line that says:

<script src="$vboptions[bburl]/clientscript/md5.js" type="text/javascript"></script>

It should say:

<script src="$vboptions[bburl]/clientscript/vbulletin_md5.js" type="text/javascript"></script>

Gervie 03-26-2004 11:49 AM

installed on vb3 gold, and no problem :nervous:
thanks


Quote:

Originally Posted by Flow Fusion
Nope every thing is installed correctly as the instructions stated. I was also wondering if this was correct?

chdir('/flowfusion.biz/forum/');

That is the file directory. Please help.

replace chdir('/flowfusion.biz/forum/'); with: chdir('/home/flowfusion/public_html/forum/');

hope it works. good luck 4 u!
:devious:

d3nnis 03-26-2004 03:51 PM

yes! I finish setting up my vbadvanced integrated with photopost!

www.keeptouch.net


however i find that the loading of the homepage is a bit slow... hope Tigga can improve on it :)

Flow Fusion 03-26-2004 03:59 PM

<br />
<b>Warning</b>: chdir(): No such file or directory (errno 2) in <b>/hsphere/local/home/mojoblac/flowfusion.biz/forum/adv_index.php</b> on line <b>15</b><br />
<html><head><title>LXP Database Error</title><style type="text/css"><!--.error { font: 11px tahoma, verdana, arial, sans-serif; }--></style></head>
<body></table></td></tr></table></form>
<blockquote><p class="error">&nbsp;</p><p class="error"><b>There seems to have been a slight problem with the LXP database.</b><br />
Please try again by pressing the <a href="javascript:window.location=window.location;" >refresh</a> button in your browser.</p><p class="error">An E-Mail has been dispatched to our <a href="mailto:flow@flowfusion.biz">Technical Staff</a>, who you can also contact if the problem persists.</p><p class="error">We apologise for any inconvenience.</p><form><textarea class="error" rows="15" cols="100" wrap="off">Database error in vBulletin 3.0.0:

Invalid SQL: SELECT thread.threadid, thread.title, thread.replycount, postusername, postuserid, thread.dateline AS postdateline, IF(views &lt;= thread.replycount, thread.replycount+1, views) AS views, thread.lastposter, thread.lastpost, pollid
, thread.iconid AS threadiconid
,thread.forumid, forum.title AS forumtitle
, post.pagetext AS preview
, NOT ISNULL(subscribethread.subscribethreadid) AS subscribed
FROM thread as thread
LEFT JOIN forum AS forum ON (thread.forumid = forum.forumid)
LEFT JOIN post AS post ON(post.postid = thread.firstpostid)
LEFT JOIN deletionlog AS deletionlog ON (thread.threadid = deletionlog.primaryid AND type = 'thread')
LEFT JOIN subscribethread AS subscribethread ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = 1)
WHERE open &lt;&gt; '10' AND thread.forumid NOT IN(http://flowfusion.biz/forum/forumdisplay.php?f=33) AND deletionlog.primaryid IS NULL
ORDER BY lastpost DESC
LIMIT 10
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '://flowfusion.biz/forum/forumdisplay.php?f=33) AND deletionlog.

mysql error number: 1064

Date: Friday 26th of March 2004 09:58:52 AM
Script: http://flowfusion.biz/forum/adv_index.php
Referer:
Username:
IP Address:
</textarea></form></blockquote>

</body></html>


ARGGGGGG!!!!!!!

.:.NetStartz.:. 03-26-2004 07:18 PM

Hi, Is there a way to change the header to the normal index file which had the forums. The portal is index.php but index1.php has the forums. People keep have to go to portal then forums. Thanks

Zachery 03-26-2004 07:32 PM

Quote:

Originally Posted by .:.NetStartz.:.
Hi, Is there a way to change the header to the normal index file which had the forums. The portal is index.php but index1.php has the forums. People keep have to go to portal then forums. Thanks

Copy the header template into the index_header template :)



Quote:

Originally Posted by Flow Fusion
<br />
<b>Warning</b>: chdir(): No such file or directory (errno 2) in <b>/hsphere/local/home/mojoblac/flowfusion.biz/forum/adv_index.php</b> on line <b>15</b><br />
<html><head><title>LXP Database Error</title><style type="text/css"><!--.error { font: 11px tahoma, verdana, arial, sans-serif; }--></style></head>
<body></table></td></tr></table></form>
<blockquote><p class="error">&nbsp;</p><p class="error"><b>There seems to have been a slight problem with the LXP database.</b><br />
Please try again by pressing the <a href="java_script_:window.location=window.location ;">refresh</a> button in your browser.</p><p class="error">An E-Mail has been dispatched to our <a href="mailto:flow@flowfusion.biz">Technical Staff</a>, who you can also contact if the problem persists.</p><p class="error">We apologise for any inconvenience.</p><form><textarea class="error" rows="15" cols="100" wrap="off">Database error in vBulletin 3.0.0:

Invalid SQL: SELECT thread.threadid, thread.title, thread.replycount, postusername, postuserid, thread.dateline AS postdateline, IF(views &lt;= thread.replycount, thread.replycount+1, views) AS views, thread.lastposter, thread.lastpost, pollid
, thread.iconid AS threadiconid
,thread.forumid, forum.title AS forumtitle
, post.pagetext AS preview
, NOT ISNULL(subscribethread.subscribethreadid) AS subscribed
FROM thread as thread
LEFT JOIN forum AS forum ON (thread.forumid = forum.forumid)
LEFT JOIN post AS post ON(post.postid = thread.firstpostid)
LEFT JOIN deletionlog AS deletionlog ON (thread.threadid = deletionlog.primaryid AND type = 'thread')
LEFT JOIN subscribethread AS subscribethread ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = 1)
WHERE open &lt;&gt; '10' AND thread.forumid NOT IN(http://flowfusion.biz/forum/forumdisplay.php?f=33) AND deletionlog.primaryid IS NULL
ORDER BY lastpost DESC
LIMIT 10
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '://flowfusion.biz/forum/forumdisplay.php?f=33) AND deletionlog.

mysql error number: 1064

Date: Friday 26th of March 2004 09:58:52 AM
Script: http://flowfusion.biz/forum/adv_index.php
Referer:
Username:
IP Address:
</textarea></form></blockquote>

</body></html>


ARGGGGGG!!!!!!!

first your chdir is not correct

/hsphere/local/home/mojoblac/flowfusion.biz/forum/

That is your full chdir

Second the forumid should be 33 not site.com/forumdisplay.php?=33

.:.NetStartz.:. 03-27-2004 12:47 AM

Zachery thanks mate. Just found out theres an option where you can choose where the link for home page and stuff need index you can change it to forum.php etc Thanks anyway

Flow Fusion 03-27-2004 04:59 AM

Hot Damn thanks alot. I got alot of work to do now...Where's that install button! lol thanks alot!

ChuanSE 03-27-2004 05:59 AM


D3nnis, plz help me out here mate :/

this is my navbar template...

I tweaked it with some hacks, so replacing it with your alternative isn't just that easy. Wanna check it for me plz? :|

Many thanks in advance amigo :D

msimplay 03-27-2004 01:47 PM

how do i stop threads / posts awaiting moderation from appearing in latests posts block ?

d3nnis 03-27-2004 03:38 PM

Quote:

Originally Posted by ChuanSE
D3nnis, plz help me out here mate :/

this is my navbar template...

I tweaked it with some hacks, so replacing it with your alternative isn't just that easy. Wanna check it for me plz? :|

Many thanks in advance amigo :D


your navbar looks ok to me, you will need to edit the one under Index Templates -> Index

find this line

Code:

<input name="s" type="hidden" value="" />
change it to

Code:

<input type="hidden" name="s" value="$session[sessionhash]" />

The Realist 03-27-2004 09:39 PM

It says in the instructions to do the following:

In your includes/adminfunctions_template.php file:

Find:'forumhome' => $vbphrase['forum_home'],
Below that Add:'index' => 'Index',

But in my includes/adminfunctions_template.php file I have
'forumhome' => $vbphrase['group_forum_home'],

So were is this $vbphrase['forum_home'], to?

Laters

Lurk 03-27-2004 10:03 PM

That is also my problem, where do i add that?
Quote:

Originally Posted by The Realist
It says in the instructions to do the following:

In your includes/adminfunctions_template.php file:

Find:'forumhome' => $vbphrase['forum_home'],
Below that Add:'index' => 'Index',

But in my includes/adminfunctions_template.php file I have
'forumhome' => $vbphrase['group_forum_home'],

So were is this $vbphrase['forum_home'], to?

Laters


Preds 03-27-2004 10:30 PM

Quote:

Originally Posted by LurkCorp
That is also my problem, where do i add that?

In vB 3.0.0 forum_home and group_forum_home are one and the same. Just add the 'index' => 'Index' on the lione below the groupo_forum_home.

Lurk 03-27-2004 10:37 PM

Quote:

Originally Posted by Preds
In vB 3.0.0 forum_home and group_forum_home are one and the same. Just add the 'index' => 'Index' on the lione below the groupo_forum_home.

Ok, now i have another problem
Code:

Warning: chdir(): No such file or directory (errno 2) in /home/lurkcorp/public_html/testvb/adv_index.php on line 15
I enter the correct directory, but it isn't working =/
Code:

chdir('/public_html/testvb');
i am installing it in my test vb installation, it is pass protected..
i'm testing before i install thing on main forums.

SVTBlackLight01 03-27-2004 11:19 PM

Try using this instead.

Code:

chdir('/home/lurkcorp/public_html/testvb');

Lurk 03-27-2004 11:38 PM

THANK YOU!!!!!!!!!!
very much


All times are GMT. The time now is 11:12 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.02605 seconds
  • Memory Usage 1,857KB
  • 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
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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