vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBadvanced CMPS (https://vborg.vbsupport.ru/forumdisplay.php?f=101)
-   -   vBadvanced CMPS - Old Support Thread (https://vborg.vbsupport.ru/showthread.php?t=73845)

Tigga 07-15-2004 03:56 AM

vbadvanced.com was down for about an hour or so... Apparently there was a problem restarting Apache after a security fix was applied.
Ted - I believe there is a add-on module for this posted on our forums. :)

pjdaley 07-15-2004 02:02 PM

for some reason i keep getting this error when i edit the functions... does vba work with 3.0.1?

PHP Code:

Parse errorparse errorunexpected T_CONSTANT_ENCAPSED_STRING in /home/forum/includes/functions.php on line 1864 


have any ideas guys?

Ted S 07-15-2004 02:10 PM

Tigga, thanks (again and again).

redlabour 07-15-2004 04:14 PM

What did i have to do if i update to 3.0.3 ??

lmongello 07-16-2004 07:58 PM

Can I install and test this out without having my users see it as the default forums page (or even an option) until it's ready? When it is installed, does it become the forums index.php automatically?

Thanks

romeshomey 07-17-2004 07:21 AM

Quote:

Originally Posted by lmongello
Can I install and test this out without having my users see it as the default forums page (or even an option) until it's ready? When it is installed, does it become the forums index.php automatically?

Thanks

I believe it will be your actual home page, not your forum index. Not sure though, Im about to install it and check it out. Looks awsome.

romeshomey 07-17-2004 10:16 AM

I would like to install this, but I am running 3.0.3 and notice a couple people had problems after upgrading.

Is there anything different than whats in the instructions to install this on 3.0.3 for it to work?

XtReMaTriX 07-17-2004 01:55 PM

Quote:

Originally Posted by romeshomey
I would like to install this, but I am running 3.0.3 and notice a couple people had problems after upgrading.

Is there anything different than whats in the instructions to install this on 3.0.3 for it to work?


I just upgraded from 2.2.8 (i know a little late but someone took advantage of the security hole in it :) )

Anyways I need a portal and I was hoping this would work with 3.0.3

I am a big fan of Tigga's Work.

Tigga 07-17-2004 07:08 PM

pjdaley - That means you've mis-hacked your functions.php file. Get a fresh, un-hacked version of that file and reapply the file changes using Notepad or another simple text editor. Do not use Dreamweaver or any similar programs as they have been known to cause problems in the past.

redlabour - Reapply the file modifications in the readme file, then upload the install file to your admincp directory, go to it in your browser, and select the option to install only the templates.

lmongello - Your users will not see the page until you rename the file (by default it's called cmps_index.php so that you can set everything up and then rename it when you're ready to go live with it. ;))

romeshomey - The only difference you should notice is that the code to change in your functions_calendar.php file is slightly different. Just look for the first part of the code and you shouldn't have any problems.

XtReMaTriX - Yes, it should work fine with any of the 3.0.X versions. :)

romeshomey 07-18-2004 08:58 AM

Im confused here.

I have everything installed, but am having a problem getting the portal to work.

I have my chdir path right in the index.php and have the files in the right area, although I dont understand why Im getting these errors.
Code:

Warning: main(./global.php): failed to open stream: No such file or directory in /home/drewster/public_html/index.php on line 59

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/drewster/public_html/index.php on line 59

Here is what I have in the file currently, maybe someone can see an error, I'v been trying to figure it out for hours lol.
Code:

// Enter the full path to your forum here
// Example: /home/vbadvanced/public_html/forum
// ============================================

chdir('/home/drewster/public_html/);

// ============================================
// No Further Editing Necessary!
// ============================================

require_once('./global.php');

print_portal_output($home);

?>

You can currently view the page here: http://www.insidersportszone.com
Here is what it said my server path was, which I had right to begin with..
Code:

_SERVER["PATH_TRANSLATED"] /home/drewster/public_html/info.php

romeshomey 07-18-2004 09:10 AM

Nm lol. I figured it out lol. I forgot to put forums/ at the end of my chdir path GRR lol Spent about 3 hours grumbling and the wife got up at 5am looking at me like I was nutz ;)

Great hack Tigga.. This is awsome....

I thank you for your hard work....

romeshomey 07-18-2004 09:11 AM

I think I made an error with the images though. Ill have to go back through it and figure out what I scewed up on....

romeshomey 07-18-2004 09:16 AM

Ok, all fixed :) .. Ill have to play around with the organization and whatnot tomorrow. Goodnight (or morning to some) everyone...... Thanks again Tigga..

romeshomey 07-18-2004 09:21 AM

For some reason it gave me a broken link on my menu bar for the arcade.

Where can I find the edit to change the arcade link for the Vba_index menu bar?

Its right on all my other forum pages, but on the Vba page it changed it from
http://www.insidersportszone.com/forums/arcade.php?
to
http://www.insidersportszone.com/arcade.php?

Yuneek 07-18-2004 02:32 PM

This doesn't seem to work with 3.0.3 - am I right?

pjdaley 07-18-2004 03:18 PM

thanx tigga... very much appreciated... now i have another problem... i installed it succesfully and all but now when i run the cmps index it gives me this error:

PHP Code:

Warningchdir(): No such file or directory (errno 2in /home/wmp/public_html/nex/index.php on line 19

Warning
main(./global.php): failed to open streamNo such file or directory in /home/wmp/public_html/nex/index.php on line 25

Fatal error
main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php'in /home/wmp/public_html/nex/index.php on line 25 

Thanx In Advanced.

romeshomey 07-18-2004 06:22 PM

Quote:

Originally Posted by Yuneek
This doesn't seem to work with 3.0.3 - am I right?

Yes it does. I have it up and working on 3.0.3...

ShutDown23 07-18-2004 07:18 PM

Quote:

Originally Posted by pjdaley
thanx tigga... very much appreciated... now i have another problem... i installed it succesfully and all but now when i run the cmps index it gives me this error:

PHP Code:

Warningchdir(): No such file or directory (errno 2in /home/wmp/public_html/nex/index.php on line 19

Warning
main(./global.php): failed to open streamNo such file or directory in /home/wmp/public_html/nex/index.php on line 25

Fatal error
main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php'in /home/wmp/public_html/nex/index.php on line 25 

Thanx In Advanced.

Same thing for me :ermm:

Sirius Black 07-19-2004 02:23 AM

Quote:

Originally Posted by ShutDown23
Same thing for me :ermm:

Installed perfect for me on 3.03 - Had a few problems locating the places to add code cause of changes since 3.01 but nothing major.

[high]* Sirius Black clicks install.[/high]

disquiet 07-21-2004 02:55 AM

It WAS working for me on 3.03...but right now I've got a SQL error...a few actually...

This is the error I get when I try to get to the access panel of the CPMS in the AdminCP...

Quote:

Database error in vBulletin 3.0.3:

Invalid SQL:
SELECT adv_setting.*
FROM adv_setting AS adv_setting
LEFT JOIN adv_settinggroup AS adv_settinggroup USING (grouptitle)
WHERE adv_settinggroup.grouptitle LIKE 'adv_portal%'
ORDER BY adv_settinggroup.displayorder, adv_setting.displayorder

mysql error: Got error 28 from table handler

mysql error number: 1030

And this is the error I get when I try to access the CPMS itself via my homepage...

Quote:

Invalid SQL:
SELECT IF(votenum >= 1, votenum, 0) AS votenum, IF(votenum >= 1 AND votenum != 0, votetotal / votenum, 0) AS voteavg,
thread.threadid, thread.title, replycount, postusername, postuserid, thread.dateline AS postdateline, thread.lastposter, thread.lastpost, IF(views<=replycount, replycount+1, views) AS views, forumid, post.postid, pagetext, allowsmilie

,thread.iconid AS threadiconid, iconpath AS threadiconpath

, NOT ISNULL(subscribethread.subscribethreadid) AS subscribed
, attachment.filename, attachment.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 icon USING (iconid)
LEFT JOIN attachment AS attachment ON (post.postid = attachment.postid)



LEFT JOIN subscribethread AS subscribethread ON (subscribethread.threadid = thread.threadid AND subscribethread.userid = '2')
LEFT JOIN deletionlog AS deletionlog ON (thread.threadid = deletionlog.primaryid AND type = 'thread')
WHERE forumid IN(3) AND thread.visible = 1 AND thread.open != 10 AND deletionlog.primaryid IS NULL
GROUP BY post.postid
ORDER BY postdateline DESC
LIMIT 4
mysql error: Got error 28 from table handler

mysql error number: 1030

I didn't change anything, that I know of...

Any ideas?? I think it might be the host I have, or at least at first I did, but I can get into my forums easily...they're working fine...as is the admin cp, etc...

Thanks for any help you can give...:)

Koopa 07-21-2004 01:43 PM

I get this error when I run the install file:

Parse error: parse error in /var/www/html/forums/includes/functions.php on line 3020

Fatal error: Call to undefined function: is_demo_mode() in /var/www/html/forums/includes/functions.php on line 1953

DeadBeat 07-21-2004 10:02 PM

I am trying to run this on my home comp before i try and install it on my site.
as u can guess i am sorta new at this....somewhat
anyway, i ran through okie i guess i can access control panel for it and whatnot. I go to the page itself and i get this error:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in www\Forums\global.php on line 26

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in www\Forums\global.php on line 41

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in www\Forums\global.php on line 48

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in www\Forums\includes\init.php on line 517

Warning: Invalid argument supplied for foreach() in
www\Forums\includes\sessions.php on line 270


Unable to add cookies, header already sent.
File: www\Forums\global.php
Line: 26

i redid the global.php about 2 times now but nothing so i am guessing it is somewhere else. Like i said i dont know enough to understand wtf it is saying..heh.
if someone knows where i ++++ed up let me know please as i am out of ideas

Andreas 07-21-2004 10:22 PM

Can you post your global.php from line 18 to 55?

NexVision 07-21-2004 10:54 PM

post lines 9- 25 of you cmps index file

DeadBeat 07-21-2004 10:57 PM

<?php
// ++================================================ =========================++
// || vBadvanced CMPS v1.0 RC2 ||
// || ? 2003-2004 vBadvanced.com & PlurPlanet, LLC - All Rights Reserved ||
// || This file may not be redistributed in whole or significant part. ||
// || http://vbadvanced.com ||
// ++ ================================================== ======================++

error_reporting(E_ALL & ~E_NOTICE);
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'adv_index');
define('VBA_PORTAL', true);

// ============================================
// Enter the full path to your forum here
// Example: /home/vbadvanced/public_html/forum
// ============================================

chdir('/www/forums');

// ============================================
// No Further Editing Necessary!
// ============================================

require_once('./global.php');

print_portal_output($home);

?>

NexVision 07-21-2004 11:00 PM

your chdir needs to change to your root directory

DeadBeat 07-21-2004 11:04 PM

root of the forum?or root of the site itself?

NexVision 07-21-2004 11:06 PM

root to the forum if you need help im on aim NvVsn

DeadBeat 07-21-2004 11:28 PM

well as far as i know and from what the info.php says it is the forum root.
i tried adding u to aol but it shows u as offline so i guess i missed ya

NexVision 07-21-2004 11:50 PM

sorry im back on hit me now

DeadBeat 07-21-2004 11:57 PM

it still showing u as offline man
was this ur id : NvVsn

NexVision 07-22-2004 12:05 AM

sorry i mistyped

NxVsn

Abe1 07-22-2004 12:14 AM

Installs perfect on 3.0.3. A++ portal!

Tigga 07-22-2004 12:24 AM

ShutDown23 & pjdaley - The path to your forums is incorrect. Please see the readme file on how to find the correct path.

disquiet - That means the tables in the database have become corrupt. You should be able to repair them using the 'Repair / Optimize Tables' option in your admin cp.

Koopa - You've mishacked your functions.php file. Try getting a fresh, un-hacked version of the file and re-apply the changes using Notepad or another simple text editor. Do NOT use Dreamweaver or any similar programs as these have been known to cause problems in the past.

disquiet 07-22-2004 04:42 AM

Tigga...that was the first thing I tried last night after I posted here...

I'll try again anyways...:D

Any idea why the tables are corrupting?? It was working for me earlier today, then down it went again...

Tigga 07-22-2004 04:46 AM

I have no idea... That's the first time I've heard of someone saying that one of those was corrupted.

disquiet 07-22-2004 05:09 AM

Yeah...it's kinda funny...The forums itself work...but the CMPS doesn't...also, the private message list doesn't work...the inbox I mean...but I can see my read reciepts and sent messages...

Makes no sense...

tccra 07-25-2004 04:56 AM

I have this installed on my site in a couple of test directories using a clean install of vBulletin and a new database and all seems to be working fine. I understand that if I install this in my normal site directory nothing will be seen until I decide to go live and change cmps_index.php to index.php. My questions are these:
  • When I install this will any changes be made to the appearance of my existing forums? I would like to use the system for my main site and leave my forums as they are. Does installation change my existing styles in any way?
  • Related to the above point, is it as easy as using a newly-created style for the main site and the existing ones for the forums?
  • When I create a new template in order to add a page to my main site, for example "fees", the new URL for the page will be http://www.mysite.com/cmps_index.php?page=fees. Now, when I go "live" with the site and change "cmps_index.php" to "index.php" do the other pages I've created change automatically along with it, i.e. does http://www.mysite.com/cmps_index.php?page=fees become http://www.mysite.com/index.php?page=fees, or do I have to change each one manually?

Hopefully these questions make some semblance of sense.

Tigga 07-26-2004 12:49 AM

1. No.
2. Not sure I follow you on this one... Why would you need to create a new style for the CMPS? By default it will use whatever style the user has selected.
3. The link to the new pages you create will be whatever you've named the file, so if you rename it to index.php, then the links to the file would have to be index.php?page=whatever

tccra 07-26-2004 02:00 AM

Quote:

Originally Posted by Tigga
2. Not sure I follow you on this one... Why would you need to create a new style for the CMPS? By default it will use whatever style the user has selected.

What I'm wanting to do is have a different header, layout, etc. on my main site from any of the selectable styles available on my forums. I don't want the style the user selects on my forums to have any bearing whatsoever on the appearance of my main site pages. Is this as simple as creating a new style and setting "Allow User Selection" to "No"? Sorry if I'm not being clear here.

Thanks for the quick reply, and kudos on the fantastic piece of software.


All times are GMT. The time now is 11:20 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.01845 seconds
  • Memory Usage 1,856KB
  • 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
  • (3)bbcode_code_printable
  • (3)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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