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 08-17-2004 01:42 AM

Davey - That's a function that is only in vB3.0.0+. I'm not sure if there are any other issues with RC2 or not, so your best bet may be to upgrade.

Halarkin - You're running vBa Homepage, not the CMPS.

MnBthunDER - Just add a template and then add that template as a new module. Or, I believe there is a module for this posted at vbadvanced.com

Megadeuce - No. Once you upgrade though you will need to upload the vbacmps_install.php file to your admincp directory and select the option to re-install the templates. And of course you will need to re-apply the file modifications to the new version as well.

ambrosious - It loads pretty quick on your site as a guest. If you have the 'Quick Moderation' module enabled then that could create a slow down on larger sites for groups that have permission to view that module.

MnBthunDER 08-17-2004 05:26 AM

Great. Found what I want and it's done :) thanks Tigga

XanaduRanch 08-17-2004 05:16 PM

Got as far as step one and stopped as changing all the image paths as requested caused broken links on all forum pages using vb3.0.1. The admin_cp paths now are relative, and that's what the vb program is asking for. (ie: from "/images/buttons" to "http://www.xxx.xom/forums/images/buttons"

Q. Is this just a temporary thing until all the modifications for install are made?

If so I should wait until there's less traffic on site to make the modification. If not what'd I do wrong? Sorry if this has been asked ... searched the thread and didn't see a post relating to it.

Tom

ambrosious 08-17-2004 06:14 PM

Thanks! Two questions, as I am ready to fire this up.
One: The reputation images didn't make the transfer. I have the path right, but I get text, and with those with REAL high it skews the entire threads.
Two: I created navbar2, where do I put the $navbar2 request? I tried in the template adv_portal but it didn't show up.

Ok, three questions. If I rename this file (cmps_index) to index, what happens to my current forum index? Or would it be better to leave the old one intact and call this one AAforumhome?

Thanks!

reteep 08-17-2004 06:30 PM

Since I'm using php 5.01 on FreeBSD I'm getting this error:

Quote:


Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /var/hsphere/local/home/storm/musiker-board.de/vb/global.php on line 26

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /var/hsphere/local/home/storm/musiker-board.de/vb/global.php on line 41

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /var/hsphere/local/home/storm/musiker-board.de/vb/global.php on line 48

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /var/hsphere/local/home/storm/musiker-board.de/vb/includes/init.php on line 518



Die Cookies konnten nicht gesetzt werden, da der Header schon an den Browser geschickt wurde.
Datei: /var/hsphere/local/home/storm/musiker-board.de/vb/global.php
Zeile: 26
Any clue how to fix that? Thanks a lot!

58sniper 08-17-2004 07:02 PM

Quote:

Originally Posted by XanaduRanch
Got as far as step one and stopped as changing all the image paths as requested caused broken links on all forum pages using vb3.0.1. The admin_cp paths now are relative, and that's what the vb program is asking for. (ie: from "/images/buttons" to "http://www.xxx.xom/forums/images/buttons"

Q. Is this just a temporary thing until all the modifications for install are made?

If so I should wait until there's less traffic on site to make the modification. If not what'd I do wrong? Sorry if this has been asked ... searched the thread and didn't see a post relating to it.

Tom

Dunno why it would cause broken images on the forums. Setting those paths
<soapbox>Which should be that way out of the box since a lot of people are extending vBulleting outside of the forums folder</soapbox> is important, as they are initially set relative to the forums directory. But CMPS is outside the forums directory. Without making them more absolute, they wouldn't work for CMPS.

Make sense?

KW802 08-17-2004 07:47 PM

Quote:

Originally Posted by stormblast
Since I'm using php 5.01 on FreeBSD I'm getting this error:



Any clue how to fix that? Thanks a lot!

Stormblast,

Try here: http://www.vbadvanced.com/forum/showthread.php?t=1864

Kevin

XanaduRanch 08-17-2004 08:34 PM

I understand the reasoning, I prefer to have the full path. But when I add it vBulletin assumes it's a relative path anyway, so, at least trhough that first step changing:

"images/misc" to "http://www.drsol.info/forums/images/misc"

Laves the forum page looking for:

"http://www.drsol.info/forums/http://www.drsol.info/forums/images/misc/navbits_start.gif"

for example. The other fields seem to be OK. But the Miscellaneous images is doing this no matter how many times it gets cut, or pasted, or hand type, etc. Weird.

Davey 08-18-2004 04:28 AM

Dang I'll have to get my members access updated. That might take a while. :(

reteep 08-18-2004 08:41 AM

Quote:

Originally Posted by KW802

Thanks dude! That's it!

Davey 08-19-2004 02:30 PM

1 Attachment(s)
Everything looks fine so far. One thing though, I want this table centered at 100%. I was hoping it could be done with this CMPS script, but if it can't I might have to consider uninstalling (since that is all I wanted it for).
Still it's a nice setup. Keep up the good work.

ps, screenshot attached.

KW802 08-19-2004 02:57 PM

Quote:

Originally Posted by Davey
Everything looks fine so far. One thing though, I want this table centered at 100%. I was hoping it could be done with this CMPS script, but if it can't I might have to consider uninstalling (since that is all I wanted it for).
Still it's a nice setup. Keep up the good work.

ps, screenshot attached.

Davey,

It should be easy enough to center but we'd need to know what method did you take to produce what you're seeing so far. Did you create a module and are then displaying only that module or did you create a new page and are using the Custom Template option of the new page, or .... ?

Davey 08-19-2004 04:42 PM

1 Attachment(s)
I created a new page, and it gave it a template. The template seems to follow the "Custom Page Content" on the left.

ps, see attch. and the note on the attach screen.

KW802 08-19-2004 05:42 PM

Quote:

Originally Posted by Davey
I created a new page, and it gave it a template. The template seems to follow the "Custom Page Content" on the left.

ps, see attch. and the note on the attach screen.

ACP --> vBa CMPS --> Edit Modules and then using the little arrows underneath the "Custom Page Content" module move it to the center column.

Now, bear in mind, that's assuming that you didn't create any other custom pages using the Custom Page Content that you want to keep on the left. If you did then you'll need to create a new module that does an include on the cmps_guild_members template and then edit your new page to display that new module (your new page would then have "Custom Page Content" clicked off and your new module clicked on).


Edit: PS - You missed blurring out one of the URL references (in the description for "Page Identifier"); if you don't want it known you might want to whack the attachment.

Davey 08-19-2004 06:19 PM

Ah yes, I see. Thanks.
lol it doesn't really matter about that URL biz. :)
Not sure why I edited really. :P

Davey 08-19-2004 06:26 PM

I don't understand how I can get my navigation bar on the left, and my guild_members in the middle. It appears that they both fall under Custom Page Content (navigation bar is in the middle now where i don't want it.)
I tried creating a new module to place the navigation template to be called from it and placed the navigation module on the left, but it doesn't work for some reason.
This is complicated stuff.

KW802 08-19-2004 07:06 PM

Quote:

Originally Posted by Davey
I don't understand how I can get my navigation bar on the left, and my guild_members in the middle. It appears that they both fall under Custom Page Content (navigation bar is in the middle now where i don't want it.)
I tried creating a new module to place the navigation template to be called from it and placed the navigation module on the left, but it doesn't work for some reason.
This is complicated stuff.

The Custom Page Content option is a little bit confusing (it took me a bit to get the hang of what it really does) but in a rule of thumb you could go by is that if you want an item to appear on more than one page, like your navigation bar, then create a new module for it that references your template but if you have a one-off page, just as what you're doing here, then using the Custom Page Content feature will eliminate having to create an unique module just for that one page.

For what you're trying to I'd recommend (a) moving your navigation stuff to be in a new module so that you could then reference it from multiple pages; (b) change the Custom Page Content module back to the middle column; and then (c) on your new page you created go ahead like you did it above of having your cmps_guild_members template in the Custom Page Content field of the page. The end result should your navigation panel in the left column and your guild members module shown in the middle.

Once you get the hang of the Custom Page Content usage it becomes really easy to add new pages but, I'll admit, when I first installed vBa CMPS the concept threw me off and I had to get some insight from Tigga before I really understood it.

Edit: What kind of problem did you have when you tried making your new navigation module? If you let us know the steps you took and the results you got I'm sure we can get you up & running.

Davey 08-19-2004 08:42 PM

1 Attachment(s)
OK you're being very helpful, but like you said this is quite complicated, and difficult to explain for a n00b like me :P
check attachments.

cmps_listofmemb.jpg: This is the listing of members when you visit index.php?p=members. This is working as planned. On a sidenote, I wondered if this is possible to grab all the users who belong in the usergroup '8' automatically. But if this is not possible, it's not a problem.

cmps_navmod.jpg: This is the module I created for the navigation bar.

cmps_custpage.jpg: This is how the Custom Page Content looks.

cmps_nonav.jpg: The nav bar should be where the "online users" bit is.

cmps_page_home.jpg: This is how the home 'page' setup looks.

cmps_page_members.jpg: This is how the guild members 'page' setup looks.

cmps_temp_members.jpg: This is the members list template. As you can see, the contents have been hard coded into the html. I don't know where to begin trying to make that automated (select the users from that usergroup and insert them manually, like I said this probably can't be done so therefore I am not too bothered). This comes out okay.

cmps_temp_nav.jpg: This is the navigation template.

If you need any more info, just ask.

KW802 08-19-2004 09:34 PM

Quote:

Originally Posted by Davey
cmps_navmod.jpg: This is the module I created for the navigation bar.

cmps_temp_nav.jpg: This is the navigation template.

You're 99.9% of the way there! I'm headed out the door but a quick look at the pics you included and the problem with your NavBar looks like it's just a matter of what names you used.

Try this....

(a) Rename your cmps_home_nav template to be adv_portal_cmps_home_nav instead; all of the vBadvanced CMPS templates should be prefixed with "adv_portal_" as part of the name.

(b) Change your "NavBar" module to clear the field named "Templates Used" so it's blank. Since the module is 'including' the template already in the "Or Template to Include" section you don't have to specify it again. Don't make any other changes to the module other than clearing out the "Templates Used" field.

(c) Change your "Default / Homepage" page to clear the field named "Page Template" so it's blank. You only need to fill that in if you are using the Custom Page Content module. On your home page you're not using that module currently so the value for "Page Template" would be blank and the "Custom Page Content" should be unchecked like you have it now.

Make those changes, save everything, and your navigation bar should start appearing on your homepage.

For your "Guild Members" page everything is working fine but if you want the navigation bar to appear on that page also then change the page, after you did the steps above, so that the "Navbar" module is checked on. The only other thing I'd do is rename your "cmps_guildmembers" template to "adv_portal_cmps_guildmembers" so that all of your vBadvanced templates are kept together. If you do rename it then be sure to update the "Page Template" field on the "Guild Members" page to the new name.

Give that a go and you should be OK. If something is still broken I'll be back at a computer again in about 5 or 6 hours so I'll check in then.

Davey 08-19-2004 11:36 PM

That worked amazingly. OMG, you've been fantastic! :D
I hate to ask too much, but what are your comments on making the members list automatically selecting all members from group id '8'? Is this possible for a n00b like myself? lol

KW802 08-20-2004 12:03 AM

Quote:

Originally Posted by Davey
That worked amazingly. OMG, you've been fantastic! :D
I hate to ask too much, but what are your comments on making the members list automatically selecting all members from group id '8'? Is this possible for a n00b like myself? lol

Dave, cool to see that you got the navigation & new page working. :D Unfortunately I'm still learning about VB myself so I don't know how to do the member list. Sorry. :o

Davey 08-20-2004 12:11 AM

Ah okay np.

Rahzel_hx 08-20-2004 02:39 AM

i get a weird error anyones have soem suggestions "Warning: chdir(): No such file or directory (errno 2) in /home/spiritno/public_html/cmps_index.php on line 19

Warning: main(./global.php): failed to open stream: No such file or directory in /home/spiritno/public_html/cmps_index.php on line 25

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

EDIT #1:
I don't know what i did but i fixed that problem but none of the images show up now >_< (meaning banner, and buttons) This is the button that won't show up on portal but show up in fourm here is the file path for it images/icon/icon1.gif

Edit #2: When i have the board turned off it can't find a picture >_> but when it is turned back on everything loads weird eh?
Well Great Hack i love it XD

weirdpixels 08-20-2004 09:08 AM

Quote:

Originally Posted by Rahzel_hx
I don't know what i did but i fixed that problem but none of the images show up now >_< (meaning banner, and buttons) This is the button that won't show up on portal but show up in fourm here is the file path for it images/icon/icon1.gif

Make sure you have put the full path to those images, in all your styles
e.g. you will need to change images/icon/icon1.gif to http://www.yourdomain.com/forum/images/icon/icon1.gif

Rahzel_hx 08-20-2004 10:01 AM

Thanx thats what i did it, turnd out to jsut be that style, but when i close the forums some of the pics don't show up still and i have full urls, but that doesn't matter when they are closed only staff can see it anyways ^___^...btw how do i edit custom page content

GMGrimmy 08-20-2004 05:23 PM

I just tried installing this hack and have an error and can't figure it out.

Quote:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/virtual/site78/fst/var/www/html/forums/includes/functions.php on line 1887

Fatal error: Call to undefined function: devdebug() in /home/virtual/site78/fst/var/www/html/forums/includes/functions.php on line 952
That is the error that I get. I have uploaded the files and tried to go to http://yoursite.com/forum/admincp/vbacmps_install.php to finish the install.

Some one help me out please?

PS I would have posted this on the vbadvanced, but for some reason I can't post anything there, or look at any threads. Done all the stuff to prove my license, so not sure what is going on there.

Any ideas??

G3MM4 08-21-2004 06:27 PM

Great portal from what I've seen. I've installed it (my forums site is at www.gamehub.co.uk), but when I ran the install script, I got this error:

Quote:

Parse error: parse error in /home/bowser/public_html/includes/functions.php on line 1887 Fatal error: Call to undefined function: devdebug() in /home/bowser/public_html/includes/functions.php on line 952
I'm totally cack at coding and so I don't know what this means? What do I need to do to put it right?

Bison 08-22-2004 11:46 AM

I have read this whole thread and no one has explained why the images do not show up for some themes. I have all of the this an example:

The recent settings (in my Admin CP):
Title Image: http://www.mysite.com/forum/chromo/misc/vbulletin3_logo_white.gif

Once I right click on the missing image on the portal page, this is the path that it shows for the title image:
http://www.mysite.com/chromo/misc/vbulletin3_logo_white.gif

This is the same situation for my nav bar as well ... everything is pointing to the root, and not in the forum folder. I will continue to post this until someone explain how to fix it. There are several members here with this problem and whoever has the solution to it will be blessed in my book. I've had this problem in the 2.x version and I had to copy the header from the main forum into the header template in the myvbindex header.

From reading these threads and the instructions on how to install this, I shouldn't have to do this.

Megadeuce 08-23-2004 05:37 PM

Quote:

Originally Posted by Rahzel_hx
i get a weird error anyones have soem suggestions "Warning: chdir(): No such file or directory (errno 2) in /home/spiritno/public_html/cmps_index.php on line 19

Warning: main(./global.php): failed to open stream: No such file or directory in /home/spiritno/public_html/cmps_index.php on line 25

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

EDIT #1:
I don't know what i did but i fixed that problem but none of the images show up now >_< (meaning banner, and buttons) This is the button that won't show up on portal but show up in fourm here is the file path for it images/icon/icon1.gif

Edit #2: When i have the board turned off it can't find a picture >_> but when it is turned back on everything loads weird eh?
Well Great Hack i love it XD

Hello rahzel_hx
I had the same problem and the error message was appearing at the top of the page. The problem is in your index.php file.
If you look at the full path to your forum line. it should read something like
/home/yourwebsitename/public_html/forums

NOT

http://www.yoursite.com/forums

I no longer get that error message as far as "Warning: chdir(): No such file or directory (errno 2) in /home/spiritno/public_html/cmps_index.php on line 19" goes.

Also, I changed the name of my index.php to indes.old.php and the file
cmps_index.php was renamed to index.php.

Hope this helps.

Megadeuce 08-23-2004 05:41 PM

Hello,
This is a great addition to my forum. I have it up and running, however there are some image placeholders with x's in them even though I changed the image directory lines as instructed.

Also, where is my main forum?

Lastly, do I need to create a forum on my main board to feed info to a homepage poll?

Please help. If I missed the instructions on how this is done, please point me to the right direction and I'll gladly read.

Thanks

italks 08-23-2004 05:45 PM

oh it works really fine for me.
just installed it over here :

http://www.italks.net

thanks.

Megadeuce 08-23-2004 07:39 PM

It looks nice italks, but where is your main forum?

trinitym 08-24-2004 12:26 AM

Wow. I just wanted to say that I'm really impressed with this hack - and I've only just installed it. I've been using vbadvanced hp on my old board version and this is leaps and bounds functionality/organization wise.

Rock on.

Caiman 08-25-2004 11:01 AM

Hi. Installed this with relative ease but there is one issue. I installed this as a top level file, where as the forum is in the directory /board.

All of the links to PM, Profile, Content etc work, but the three links at the bottom:

View Forum Leaders | Mark Forums Read | Log Out

Do not, they don't seem to have the /board prefix before them. How would I sort this out?

http://www.aircrafted.com/index.php

is the page if you need to see it, thanks.

Caiman 08-25-2004 11:08 AM

Never mind template edits, Doh.

Fixed, installed, Thanks!

Ig@r 08-25-2004 03:20 PM

This is the best hack ever.
Thanks much! :up:

Zelda-King 08-25-2004 04:21 PM

Quote:

Originally Posted by Bison
I have read this whole thread and no one has explained why the images do not show up for some themes. I have all of the this an example:

The recent settings (in my Admin CP):
Title Image: http://www.mysite.com/forum/chromo/m...logo_white.gif

Once I right click on the missing image on the portal page, this is the path that it shows for the title image:
http://www.mysite.com/chromo/misc/vb...logo_white.gif

This is the same situation for my nav bar as well ... everything is pointing to the root, and not in the forum folder. I will continue to post this until someone explain how to fix it. There are several members here with this problem and whoever has the solution to it will be blessed in my book. I've had this problem in the 2.x version and I had to copy the header from the main forum into the header template in the myvbindex header.

From reading these threads and the instructions on how to install this, I shouldn't have to do this.

This would be because in your header/navbar templates (I think it's them. It's been a while since I installed this now), you have the image URLs as something like (for example:) "images/logo.gif" instead of the full URL "http://www.domain/com/forums/images/logo.gif".

G3MM4 08-25-2004 05:07 PM

How do I solve the problem I'm having?

mcyates 08-25-2004 06:29 PM

Nothing is showing except my header and footer:

http://www.myfootballforum.com/cmps_index.php

Why is this?

Zelda-King 08-25-2004 06:40 PM

You need to rename cmps_index.php to index.php for one thing.


All times are GMT. The time now is 01:18 PM.

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.01704 seconds
  • Memory Usage 1,877KB
  • 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
  • (14)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