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)

DWard 04-06-2004 04:39 PM

Hey guys, Ive tried installing,b ut I get this error, looked over what other people have said but still cant fix this:

Code:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/httpd/vhosts/collegepranks.co.uk/subdomains/community/httpdocs/includes/functions.php on line 1864

Fatal error: Call to undefined function: exec_nocache_headers() in /home/httpd/vhosts/collegepranks.co.uk/subdomains/community/httpdocs/admincp/global.php on line 37

Please, what do I do?? I don't have much time to get this fixed.

Zachery 04-06-2004 04:58 PM

Quote:

Originally Posted by DWard
Hey guys, Ive tried installing,b ut I get this error, looked over what other people have said but still cant fix this:

Code:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/httpd/vhosts/collegepranks.co.uk/subdomains/community/httpdocs/includes/functions.php on line 1864

Fatal error: Call to undefined function: exec_nocache_headers() in /home/httpd/vhosts/collegepranks.co.uk/subdomains/community/httpdocs/admincp/global.php on line 37

Please, what do I do?? I don't have much time to get this fixed.

You didnt hack your files correclty, upload default ones and i suggest trying again, dont edit them with somthing like dreamweaver or Microsoft Word, use somthing simple like wordpad.

DWard 04-06-2004 05:23 PM

Ok, now ive got it all installed and set it up in acp, but now i get this on the adv_index page:

Code:

Warning: main(): open_basedir restriction in effect. File(./global.php) is not within the allowed path(s): (/home/httpd/vhosts/collegepranks.co.uk/httpdocs:/tmp) in /home/httpd/vhosts/collegepranks.co.uk/httpdocs/adv_index.php on line 77

Warning: main(./global.php): failed to open stream: Operation not permitted in /home/httpd/vhosts/collegepranks.co.uk/httpdocs/adv_index.php on line 77

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/share/pear') in /home/httpd/vhosts/collegepranks.co.uk/httpdocs/adv_index.php on line 77


ChuanSE 04-07-2004 05:55 AM

DWard, i guess that is your apache who's settings are conflicting

Vonedaddy: i think that is because the lines to search for can be slightly different from the ones that where to find before vB gold. Look for a similar line ;)

Xer 04-08-2004 02:39 PM

How to do in navbar template to change "Forums" and "Home" link when in adv_index page and forumhome page?

Picture shows as below :sleep:

Thanks

DivisionByZero 04-08-2004 02:48 PM

check out my site, www.chatboxx.net, and see if my navbar is fixed the way you'd like it.

Littlebit 04-08-2004 03:18 PM

Quote:

Originally Posted by Xer
How to do in navbar template to change "Forums" and "Home" link when in adv_index page and forumhome page?

Picture shows as below :sleep:

Thanks

Hi Xer,
Look in your navbar template for:
HTML Code:

<!--<td class="vbmenu_control"><a href="$vboptions[forumhome].php?$session[sessionurl]">Home</a></td>-->
And replace that with:
HTML Code:

<td class="vbmenu_control"><if condition="[size=2]THIS_SCRIPT == 'adv_index'"><a href="$vboptions[bburl]?$session[sessionurl]"> Forums <else /> <a href="$vboptions[homeurl]?$session[sessionurl]"> Home </if></a></td>[/size]
That should do it :)

Lurk 04-08-2004 10:03 PM

I don't know why this is happening, because it doesn't happen anywhere else..

vBadvanced doesn't keep users logged in.. until they visit the forums then go back to the vBadvanced..
Users don't stay logged in unless they:
visit forums
THEN visit vBadvanced

It works sometimes, but not all the time.. anyone can help?

Zachery 04-08-2004 10:29 PM

Quote:

Originally Posted by LurkCorp
I don't know why this is happening, because it doesn't happen anywhere else..

vBadvanced doesn't keep users logged in.. until they visit the forums then go back to the vBadvanced..
Users don't stay logged in unless they:
visit forums
THEN visit vBadvanced

It works sometimes, but not all the time.. anyone can help?

They need to clear their cookies, there cookies have become crupted

Xer 04-09-2004 12:49 AM

Quote:

Originally Posted by Littlebit
Hi Xer,
Look in your navbar template for:
HTML Code:

<!--<td class="vbmenu_control"><a href="$vboptions[forumhome].php?$session[sessionurl]">Home</a></td>-->
And replace that with:
HTML Code:

<td class="vbmenu_control"><if condition="[size=2]THIS_SCRIPT == 'adv_index'"><a href="$vboptions[bburl]?$session[sessionurl]"> Forums <else /> <a href="$vboptions[homeurl]?$session[sessionurl]"> Home </if></a></td>[/size]
That should do it :)

i got this error, when pasted the code you gave me :dead:

Quote:

Parse error: parse error, unexpected '[' in /home/www/a040331/html/forum/includes/adminfunctions_template.php(3037) : eval()'d code on line 92
thanks for the help

sola 04-09-2004 02:46 AM

Question from a man who wants to eat his cake and have it too.
VB3 Gold.
I would like to make VBA my home.
I have vague ideas of PHP, so I try not to mess up my script's code.
Can you tell me how much an installation of VBA will change my VB code?
And in future, would I have to do anything unusual to upgrade VB now that VBA would be a part of it?
Really, how much does VBA change the default VB?

Thanks.

BigJohnson 04-09-2004 08:13 AM

I am having trouble here. Not all the phrases were installed. Only a few of them. How do i get the others installed. I cant do the install over agian again bc i already installed. What should i do?

OGT 04-09-2004 01:05 PM

Quote:

Originally Posted by sola
Question from a man who wants to eat his cake and have it too.
VB3 Gold.
I would like to make VBA my home.
I have vague ideas of PHP, so I try not to mess up my script's code.
Can you tell me how much an installation of VBA will change my VB code?
And in future, would I have to do anything unusual to upgrade VB now that VBA would be a part of it?
Really, how much does VBA change the default VB?

Thanks.

sola, anytime you install a hack, you should keep the .txt file that came with it, and ALWAYS comment the code out that your are replacing, and comment the sections of code you add. when you comment, come up with a search term so that you can easily find all file mods.

for instance, when you install vbadvanced, and it tells you to edit a .php file, and says find this: and replace with this:

instead of replacing, simply comment it out using // HACK VBADVANCED REMOVE
and before your added code put // HACK VBADVANCED START and at the end put // HACK VBADVANCED END

do the same for template mods, and now anytime you want to remove a hack, just refer to the txt file that you saved from the hack, go into each modified file and search for your string, and uncomment out what needs to be uncommented.

as far as how much vbadvanced changes your forums, id say basically not at all. its more of an addition rather than a major change. following the instructions step by step carefully resulted in a very easy installation IMO, witht he only minor bug being a clear.gif issue they have already resolved i think, and a missed image path name.

when you upgrade vb, its basically a amtter of doing the upgrade,t hen reapplying the vbadvanced changes that were effected. when i changed from rc4 to vb3gold, i did the vb3gold install, then went back into the vbadvanced install and had the news issue fixed in 15 minutes. i am not a coder, but i do pay attention to detail, and i can follow if statements and the logic behind the code, and their wording and layout seemed very easy to me.

Also, the VBAdvanced homepage as well as this thread ahd all of the instructions on how to do this within a day of vb3gold being released.

sola 04-09-2004 01:14 PM

ohgeetee,

Thank you for the most helpful response. I have been educated.

Be well.

Pro 04-10-2004 03:05 AM

I tried installing the VBA and when i go through the install i get the following error..

Quote:

Database error in vBulletin 3.0.0:

Invalid SQL: INSERT INTO phrase (phraseid, languageid, varname, text, phrasetypeid) VALUES (NULL, '0', 'setting_newsforum_title', 'News Forum ID', '5000')
mysql error: Duplicate entry 'setting_newsforum_title-0-5000' for key 2

mysql error number: 1062
can someone PLEASE help me???

thanks in advance!

ChuanSE 04-10-2004 05:21 AM

1062 Duplicate entry '%s' for key %d => you have to examine your DB :|

http://dev.mysql.com/doc/mysql/en/Error-messages.html

Pro 04-10-2004 05:45 AM

Quote:

you have to examine your DB :|
What do you mean? My vB is working great right now... so what could be wrong with the database?

Sorry... I'm new to pHp. :(

Seany 04-10-2004 03:58 PM

Just installed it. Great hack Tigga!
http://forums.anime-axess.com/

Work great!

Ghostspy 04-10-2004 05:21 PM

hey tigga.

i was wondering can i put the portal index file on www.sxsecurity.org and have the rest of it in www.sxsecurity.org/forum . because i installed it and i was not sure on how people were supposed to view it. :-\ i guess i just dont know what i am doing. lol.

Pro 04-10-2004 05:35 PM

can someone help please? i tried going through the steps again and still nothing...

Little things such as: "edit the templates.txt:" part i don't understand either...?

But i'm still getting the 1062 error... I'm sure i didn't edit everything properly... The steps didn't seem as easy as the Myvbindex 3.2 - they dont seem as detailed - so i'm pretty confused. :(

Ghostspy 04-10-2004 05:39 PM

um for the templates u got to pick of the options it gives you on there
lol. like ummm




Code:

------------------------------------
calendar_smallmonth_header
------------------------------------

<tr>
<if condition="$dontshowweek">
<td class="tcat" colspan="$colspan" align="left"><span class="smallfont"><b>$vboptions[blockbullet]
<else />
<td class="tcat" colspan="$colspan" align="center"><b>
</if><a href="$vboptions[bburl]/calendar.php?$session[sessionurl]month=$month&amp;year=$year&amp;c=$calendarid&amp;do=displaymonth">$monthname $year</a><if condition="$dontshowweek"></b></span></if></td>
</tr>
<tr align="center">
        <if condition="!$dontshowweek"><td class="thead">&nbsp;</td></if>
        <if condition="$show['day1']"><td class="thead">$day1</td></if>
        <if condition="$show['day2']"><td class="thead">$day2</td></if>
        <if condition="$show['day3']"><td class="thead">$day3</td></if>
        <if condition="$show['day4']"><td class="thead">$day4</td></if>
        <if condition="$show['day5']"><td class="thead">$day5</td></if>
        <if condition="$show['day6']"><td class="thead">$day6</td></if>
        <if condition="$show['day7']"><td class="thead">$day7</td></if>
</tr>
$calendarrowbits


Pro 04-10-2004 07:16 PM

ahhh... so just one of them? lol aiight...

So what about the other stuff? error 1062, etc. ?

thanks for the help... and do i upload the templates.txt to my public_html ? doesn't say where it goes - doesn't show that it needs to be uploaded either...

Zachery 04-10-2004 07:17 PM

The templates.txt you replace the template contents with whats in that template file

atomic fireball 04-10-2004 07:53 PM

First off, I must say, this is an EXCELLENT HACK! Thank you very much!!

If I can make one suggestion, it would be to NOT make the actual code replacements in an HTML read me. The reason being is that web browers on some platforms add small "invisible garbarge" characters when they are displayed. Thus, cutting pasting from a browser and not from a TXT read me is probably what is making some people not hack their php files correctly.

Again, this is a minor suggestion, and I want to thank you for the time in setting up this hack. I love it!

Pro 04-10-2004 07:58 PM

Database error in vBulletin 3.0.0:

Invalid SQL: INSERT INTO settinggroup (grouptitle, displayorder, volatile) VALUES ('vbadv_index', '1000', '0')
mysql error: Duplicate entry 'vbadv_index' for key 1

mysql error number: 1062

Date: Saturday 10th of April 2004 04:57:35 PM
Script: http://illicitrap.com/board/admincp/...tep=dosettings
Referer: http://illicitrap.com/board/admincp/...php?step=start

i still need some help with this... is this caused from the vBadvanced or the VB3???? SAYS vb3 - but the vb itself works perfectly fine...?

Pro 04-10-2004 11:00 PM

can anyone help PLEASE????

Zachery 04-10-2004 11:41 PM

Quote:

Originally Posted by Pro
Database error in vBulletin 3.0.0:

Invalid SQL: INSERT INTO settinggroup (grouptitle, displayorder, volatile) VALUES ('vbadv_index', '1000', '0')
mysql error: Duplicate entry 'vbadv_index' for key 1

mysql error number: 1062

Date: Saturday 10th of April 2004 04:57:35 PM
Script: http://illicitrap.com/board/admincp/...tep=dosettings
Referer: http://illicitrap.com/board/admincp/...php?step=start

i still need some help with this... is this caused from the vBadvanced or the VB3???? SAYS vb3 - but the vb itself works perfectly fine...?

Run the uninstall, then try installling.

Pro 04-11-2004 12:36 AM

^^^ thanks alot! works now i think...

but i had an INDEX.HTM file - now do i delete that to make the INDEX.PHP file show up???

sorry about all the questions - but like i said- im learning...

Pro 04-11-2004 12:40 AM

nm

got it

thanks zachery and others!

Pro 04-11-2004 01:18 AM

LOL... K... ONE MORE QUESTION. PROMISE!

How do i add content to the custom blocks?

Pro 04-11-2004 01:48 AM

I see someone asked on the Home site... but i registered twice since last night and STILL have not recieved a e-mail back?
TIGGA - can you please check my new user name: Pro and send me my activation codes???

thanks!

Zachery 04-11-2004 01:59 AM

Tigga is currently away, and i cannot do this, however check your spam email folder if you have one and your using a free mail account :)

Pro 04-11-2004 02:29 AM

nothing... :(

do you know how to add content to the Custom Blocks???

Ghostspy 04-11-2004 03:10 AM

yea thats a good question i am just trying to figure out what i do when i install this mod how are people supposed to view the forums if i have to overwrite the index.php for the forum with the one for the portal. b/c people cant view the whole forum then.

Pro 04-11-2004 03:25 AM

^^^ you dont over-write the FORUMS index.php... VBA goes in your PUBLIC_HTML directory...

the FORUMS should be like: /public_html/forums/ so your forums will show up as http:// yoursite.com/forums

so now if you have the VBA in the public html directory you just install it - then delete you old INDEX.HTM file... then it comes up nicely...

--------------------------------------

i still need to know how to get content into these custom blocks!!!

Zachery 04-11-2004 04:24 AM

Quote:

Originally Posted by Ghostspy
yea thats a good question i am just trying to figure out what i do when i install this mod how are people supposed to view the forums if i have to overwrite the index.php for the forum with the one for the portal. b/c people cant view the whole forum then.

Most people put their forums into a directory called /forums or /community or into another folder, if youve plraced vBulletin into your root diretory.

Step one rename your current index.php to forums.php
Step 2 rename adv_index.php to index.php
Step 3 AdminCP > vBulletin Options > Forums Home Page Options > Script Name for Forum Home Page > change to whatever you originaly named index.php to with out the .php
so if you changed it to forums, it now read forums in that box

Zachery 04-11-2004 04:32 AM

Quote:

Originally Posted by Pro
^^^ you dont over-write the FORUMS index.php... VBA goes in your PUBLIC_HTML directory...

the FORUMS should be like: /public_html/forums/ so your forums will show up as http:// yoursite.com/forums

so now if you have the VBA in the public html directory you just install it - then delete you old INDEX.HTM file... then it comes up nicely...

--------------------------------------

i still need to know how to get content into these custom blocks!!!

try editing the templates index_custom and index_custom2

Ghostspy 04-11-2004 04:38 AM

Quote:

Originally Posted by Zachery
Most people put their forums into a directory called /forums or /community or into another folder, if youve plraced vBulletin into your root diretory.

Step one rename your current index.php to forums.php
Step 2 rename adv_index.php to index.php
Step 3 AdminCP > vBulletin Options > Forums Home Page Options > Script Name for Forum Home Page > change to whatever you originaly named index.php to with out the .php
so if you changed it to forums, it now read forums in that box


i did that and i went to go login and its like not letting me login i am goin to try it again.

Pro 04-11-2004 04:55 AM

Quote:

Originally Posted by Zachery
try editing the templates index_custom and index_custom2


lol... were these supposed to come with the install package? cause if so - i got jipped :(

i dont see these ANYWHERE...? :ermm:

Pro 04-11-2004 04:56 AM

<a href="http://www.vbadvanced.com/forum/showthread.php?t=576" target="_blank">http://www.vbadvanced.com/forum/showthread.php?t=576</a> <--- i was trying to read that but even though it says im logged in - i can't view it...


All times are GMT. The time now is 02:27 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.03926 seconds
  • Memory Usage 1,852KB
  • 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
  • (4)bbcode_html_printable
  • (13)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