PDA


View Full Version : vBadvanced CMPS 2.0 RC1 Released!


Pages : [1] 2 3

Brian
06-03-2005, 02:19 PM
The long anticipated release of vBadvanced CMPS v2.0 is finally here! The new version is almost a complete re-write of the code and we feel that some of the new features and options are going to set a new standard for vBulletin portals. Without further ado, here is a list of the new features:

Upload / Download Module - One of the best new features of vBadvanced CMPS 2.0 is the new "Download / Upload Module" interface. This feature will allow users to easily download their modules and then share them with others. When downloading a module, the script will automatically create a .module file containing all information for the module, including settings, templates, files, and etc. Instead of having to add templates, upload files to your server, set options, and etc you will now be able to simply download a file from here, and then upload it through your Admin CP.


Module Types - There are now 3 types of modules that can be added: Template Modules, BB Code Modules, and File Modules. When adding a new module you will now be given a chance to choose the type of module you would like to add first to help cut down on the confusion on what fields to fill in and etc.


Page Types - Similar to the module types, there are now 5 types of pages that can be added - Module Pages, Template Pages, PHP File Pages, BB Code Pages, and HTML file pages.


WYSIWYG editor - You can now use vBulletin's WYSIWYG editor when modifying BB Code pages or modules.


Module Shell Template - A new template called 'adv_portal_module_shell' has been added, along with options to have this template "wrapped" around any and all modules. The addition of this feature makes it very easy to change the look of all of your modules by simply modifying one template.


vB File & Template Modifications - The number of necessary vB file modifications is down to just 3 changes to your global.php file and there are no longer any template modifications necessary.


Forum select boxes - Instead of trying to find the forumid for your news or any other modules where you can select forums, you will now be shown a select box listing all of your forums.


Clean File Output for PHP File Modules - There is a new 'Clean File Output' option with PHP File Modules. This makes it much easier for novice users to add PHP modules that were not designed to work with vBulletin and vBadvanced.


Quick Permissions Editor - There is now a 'Quick Permissions Editor' that will allow you to quickly change the permissions for all of your pages and modules.


Specific Threads for Modules - Instead of only being able to select a specific forum(s) for your "News", "Latest Forum Topics", and "Current Poll" modules, you also have the option to select specific threads to be displayed with these modules instead.


Copy Modules - The new 'Copy Module' feature makes it very easy to duplicate a module. This should prove especially useful for those who would like to have a second "Latest Threads" or "News" modules to display different content.


Copy Page - Similar to the 'Copy Module' feature, you may also copy pages.


Collapsible Modules - As you have probably already seen on here, all modules that use the 'adv_portal_module_shell' template can now easily be collapsed/expanded.


Vertical Spacing Between Modules - You can now specify the amount of space (in pixels) that should be used to separate modules vertically as well as horizontally.


Module Settings - You can now edit the settings for a specific module when you edit the module. There is also an option that will allow you to quickly edit all module settings the same as you could with v1.x of the CMPS.


Site Navigation Module - There is a new "Site Navigation" module that will display links to any pages you have added to the CMPS, as well as options to add your own links.


Today's Birthdays Module - The "Today's Birthdays" section of the stats module has been moved into it's own module.


Parent Page - You may now specify a "Parent Page" when adding pages. This creates a sense of structure for your pages in your navbar, as well as the site navigation template.


Active / Inactive Pages - You can now set pages as active or inactive (the same as modules). When a page is inactive, only moderators and admins will be able to view that page.


Multiple Attachments for News Posts - The news module will now show all attachments associated with the post instead of just the first one.


New Welcome Block Module Options - There are now options with the "Welcome Block" module to display the user's reputation info as well as their user rank. The module will also take on a new look when moved to the center column, similar to the way the "Latest Forum Topics" module currently does.


Forum Permission Options - New options to apply forum permissions (or not) to your "News" and "Latest Threads" modules.


News Module Options - In addition to the forum permissions option above, there are two other new options to allow you to have sticky news posts appear first, as well an option to group your news posts together rather than separately.


Customized Page Settings - When modifying your settings, you will now see a select box which lists all pages in which that setting has been customized.




Important Notes For Those Who Are Upgrading
If you have added any new 3rd party modules, it is strongly recommended that you run the upgrade script on a test forum first. While we have made every attempt to make sure that the upgrade from v1.x to v2.0 will go as smoothly as possible, we cannot guarantee that all third party modules will work with v2.0. We also cannot guarantee that we will be able to provide support in helping to get 3rd party modules to work with the new version.


Any customized default CMPS templates will be removed! Due to the number of changes with 2.0 of the CMPS, most of the templates for the default modules will not work properly, and for this reason, will be removed. If you have customized any of the default templates for the CMPS it is recommended that you download a copy of that style so that you may reapply the changes to the new version. Please note that this only affects default CMPS templates. Any templates that have been added for custom or 3rd party modules will not be removed.


Further upgrade information can be found in the readme file.


Well I believe that covers just about everything. We are very excited to finally have this new version out and hope that everyone will enjoy the new features and options.

KW802
06-03-2005, 02:33 PM
Brian, looking good! You added a few new things since the betas even.

The upgrade went smooth on my main site and am checking out the changes now. :cool:

Ghostsuit
06-03-2005, 03:28 PM
fook in hell ;)

phlogiston
06-03-2005, 03:41 PM
ooft!

looking good, Friday night here & half way through a bottle of rum - just how easy is the upgrade, I'm tempted to try it now ;)
(& no, no I won't, tempted to play but I won't!)

surfdude
06-03-2005, 04:02 PM
Thanks Brian,

great timing, this gives me option to configure this beauty over the weekend on a test server. I'll let you know how I get on.

mholtum
06-03-2005, 04:04 PM
Wow! Easy Upgrade.. Thought though:

I have this in my Global.php file:

if (defined('VBA_PORTAL'))
{
$phrasegroups = array_merge($phrasegroups,
array(
'calendar',
'adv_portal',
'adv_gallery',
'postbit'
)
);

$specialtemplates = array_merge($specialtemplates,
array(
'adv_modules',
'adv_portal_opts',
'adv_gallery_opt',
'gallery_c_cache',
'attachmentcache',
'bbcodecache',
'birthdaycache',
'eventcache',
'iconcache',
'maxloggedin',
'smiliecache',
'userstats',
'gallery_c_cache'
)
);

$globaltemplates = array_merge($globaltemplates,
array(
'adv_portal',
'adv_portal_footer'
)
);


it is different than the one specified to replace with this:
if (defined('VBA_PORTAL'))
{
require_once('./includes/vba_cmps_include_template.php');
}

Am I going to have issues?

Blue Moose Aaron
06-03-2005, 04:08 PM
Sweet news! Two upgrades! :D

Brian
06-03-2005, 04:48 PM
mholtum - Just copy your specialtemplates array from your global.php file over the $special templates array in your includes/vba_cmps_include_template.php file and you should be good to go.

mholtum
06-03-2005, 04:49 PM
mholtum - Just copy your specialtemplates array from your global.php file over the $special templates array in your includes/vba_cmps_include_template.php file and you should be good to go.

HUH?
lol

Brian
06-03-2005, 05:02 PM
LOL!

Ok, replace that bit of code you posted in your global.php file with the bit of code the readme file tells you to. Then open your /includes/vba_cmps_include_template.php file and replace the bit of code that looks similar to that (starting at $specialtemplates = and ending with the ); line a little below) with this:
$specialtemplates = array_merge($specialtemplates,
array(
'adv_modules',
'adv_portal_opts',
'adv_gallery_opt',
'gallery_c_cache',
'attachmentcache',
'bbcodecache',
'birthdaycache',
'eventcache',
'iconcache',
'maxloggedin',
'smiliecache',
'userstats',
'gallery_c_cache'
)
);

mholtum
06-03-2005, 05:14 PM
LOL!

Ok, replace that bit of code you posted in your global.php file with the bit of code the readme file tells you to. Then open your /includes/vba_cmps_include_template.php file and replace the bit of code that looks similar to that (starting at $specialtemplates = and ending with the ); line a little below) with this:
$specialtemplates = array_merge($specialtemplates,
array(
'adv_modules',
'adv_portal_opts',
'adv_gallery_opt',
'gallery_c_cache',
'attachmentcache',
'bbcodecache',
'birthdaycache',
'eventcache',
'iconcache',
'maxloggedin',
'smiliecache',
'userstats',
'gallery_c_cache'
)
);
Holy Crap. When I do that, I cant access my site. I get a page cant be found error.. Can I submit a ticket and have you take a look?

internext
06-03-2005, 05:17 PM
Absolutely fantastic, well done to Brian and the team :)

Brian
06-03-2005, 05:22 PM
Holy Crap. When I do that, I cant access my site. I get a page cant be found error.. Can I submit a ticket and have you take a look?
Sure thing.

mholtum
06-03-2005, 05:23 PM
thanks, submitted.

mholtum
06-03-2005, 06:08 PM
Now I have noticed that my "Latest Forum Topics", "Current Poll", "Calender" and "Birthdays" are displaying at the bottom of the portal instead of the right side. I checked the "edit Mods" and "edit pages" and they show they should be displaying on the right.. I am pulling my hair out.

tomshawk
06-03-2005, 06:13 PM
Copy Modules - The new 'Copy Module' feature makes it very easy to duplicate a module. This should prove especially useful for those who would like to have a second "Latest Threads" or "News" modules to display different content.

Well, thats a good way to make my 2 biggest hacks a moot point. :p

Well done Brian, cant wait to install it this weekend and play with it. ;)

You rock

Brian
06-03-2005, 06:14 PM
Looks like you added an extra </td></tr></table> when you modified your stats template. ;)

Brian
06-03-2005, 06:14 PM
Well, thats a good way to make my 2 biggest hacks a moot point. :p

Gotta give the people what they've been asking for. :)

mholtum
06-03-2005, 06:18 PM
Seems it is the stats template that is whacking it!
What is wrong with this:

<!-- Stats Block -->

<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder"width="100%">
<tr>
<td class="tcat"><span class="smallfont"><strong>$vba_options[portal_blockbullet]

<phrase 1="$vboptions[hometitle]"></phrase>

</strong></span></td>
</tr>
<tr>
<td class="thead">Forum Stats</td>
</tr>

<tr>
<td class="$getbgrow"><span class="smallfont">

$vbphrase[members]: $numbermembers<br />
$vbphrase[threads]: $totalthreads<br />
$vbphrase[posts]: $totalposts<br />
$vbphrase[top_poster]: <a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$topposter[userid]">$topposter[username]</a> ($topposter[posts])<br />
<br />
<phrase 1="$vboptions[bburl]/member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase>
</span>

</td>
</tr>
<tr>
<td class="thead">Gallery Stats</td>
</tr>
<tr>
<td class="$bgclass">
<span class="smallfont">Categories: $stats[categories]<br />
Images: $stats[images]<br />
New Images: $newimages[count]<br />
Posts: $stats[posts]<br />
Image Views: $stats[views]<br />
Diskspace: $stats[diskspace]</span>

</td>
</tr>

<if condition="$birthdays">
<tr>
<td class="alt1"><span class="smallfont">
<b>$vbphrase[todays_birthdays]:</b><br /> $birthdays</span></td>
</tr>
</if>

</table>
<br />

Brian
06-03-2005, 06:19 PM
Try reverting the template and use this instead:
<tr>
<td class="thead">Forum Stats</td>
</tr>

<tr>
<td class="$getbgrow"><span class="smallfont">

$vbphrase[members]: $numbermembers<br />
$vbphrase[threads]: $totalthreads<br />
$vbphrase[posts]: $totalposts<br />
$vbphrase[top_poster]: <a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$topposter[userid]">$topposter[username]</a> ($topposter[posts])<br />
<br />
<phrase 1="$vboptions[bburl]/member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase>
</span>

</td>
</tr>
<tr>
<td class="thead">Gallery Stats</td>
</tr>
<tr>
<td class="$bgclass">
<span class="smallfont">Categories: $stats[categories]<br />
Images: $stats[images]<br />
New Images: $newimages[count]<br />
Posts: $stats[posts]<br />
Image Views: $stats[views]<br />
Diskspace: $stats[diskspace]</span>

</td>
</tr>

mholtum
06-03-2005, 06:28 PM
That worked! Thanks. What was my issue?

Siemens
06-03-2005, 06:34 PM
brian , can you help me too plz? i cant install the portal looks like this:

[qoute]Datenbankfehler in vBulletin 3.0.7:

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

, avatarpath, NOT ISNULL(avatardata) AS hascustom, customavatar.dateline AS avatardateline, avatarrevision
, NOT ISNULL(subscribethread.subscribethreadid) AS subscribed
FROM thread AS thread
LEFT JOIN forum USING AS post (forumid)
LEFT JOIN post AS post ON (post.postid = thread.firstpostid)

LEFT JOIN user AS user ON (user.userid = post.userid)

LEFT JOIN usertextfield AS usertextfield ON (post.userid = usertextfield.userid)

LEFT JOIN avatar as avatar ON (avatar.avatarid = user.avatarid)
LEFT JOIN customavatar as customavatar ON (customavatar.userid = user.userid)

LEFT JOIN subscribethread AS subscribethread ON (subscribethread.threadid = thread.threadid AND subscribethread.userid = '1')
LEFT JOIN deletionlog AS deletionlog ON (thread.threadid = deletionlog.primaryid AND type = 'thread')
WHERE thread.threadid IN(6,5)

GROUP BY post.postid
ORDER BY sticky DESC, postdateline DESC
LIMIT 2

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 'AS post (forumid)
LEFT JOIN post AS post ON (post.postid =

mysql error number: 1064

Datum: 03.06.2005 23:31:03
[/quote]

i make the same as your readme text with upgrading

Brian
06-03-2005, 06:36 PM
If you'll download the package from here again and replace your current modules/news.php file with the one there then that should take care of the problem.

Siemens
06-03-2005, 06:40 PM
ok ,mom

Siemens
06-03-2005, 06:44 PM
Thx for this great Work !!! Everythink is alright now

kall
06-03-2005, 10:18 PM
I don't know if this has been covered (and is worded differently) but...a feature I have thought would be handy is the ability to show modules in columns according to usergroup.

ie: If $bbuserinfo[usergroupid]==1 => Welcome block on left. If ==6,5,7 => on Right, other groups => center.

What do you think?

Richard
06-03-2005, 11:04 PM
Thanks Brian!

Install went flawlessly

TTG
06-03-2005, 11:21 PM
Whoops ..

Warning: Invalid argument supplied for foreach() in /includes/vba_cmps_include_bottom.php on line 297

Fatal error: Call to undefined function: getrowcolor() in /usr/home/thetechg/public_html/retreat/modules/vbookie_vbadvanced.php on line 35

Brian
06-03-2005, 11:23 PM
First, edit your 'Default / Homepage' and just save it.

Second, look in you vbookie_vbadvanced.php file for getrowcolor() and replace it with exec_switch_bg()

TTG
06-03-2005, 11:30 PM
First, edit your 'Default / Homepage' and just save it.

Second, look in you vbookie_vbadvanced.php file for getrowcolor() and replace it with exec_switch_bg()

Wow .. that was quick :)

Thanks Brian .. amazing .. works fine now.

Lizard King
06-04-2005, 04:00 AM
Works like a charm :)

jrofosho
06-04-2005, 06:15 AM
Warning: Invalid argument supplied for foreach() in /includes/vba_cmps_include_bottom.php on line 297

Warning: Invalid argument supplied for foreach() in /includes/vba_cmps_include_bottom.php on line 297

Warning: Invalid argument supplied for foreach() in /includes/vba_cmps_include_bottom.php on line 297




Need help ASAP

Richard
06-04-2005, 07:32 AM
Need help ASAP
http://www.vbadvanced.com/forum/showthread.php?t=8308

Milk Man
06-04-2005, 08:28 AM
wow, i think i might wait till i understand this better!

Milk Man
06-04-2005, 08:33 AM
so I would have to redo all the modules and news hack right?

Nordinho
06-04-2005, 09:10 AM
Now this is what I call an update ;) thanks a lot Brian!!

Ogden2k
06-04-2005, 12:56 PM
I really like this version... Much easier controlling all of my settings... Thank you for your hard work!

jugo
06-04-2005, 02:44 PM
Hey the Navigation block does not show up..I enabled it and added a link and nothing.

edit: :D sorry..i had to enable it on the pages....blame thehangover.

ConqSoft
06-04-2005, 02:45 PM
Did you edit the Page and make sure the navigation block is checked?

jugo
06-04-2005, 02:47 PM
thanks cong

jugo
06-04-2005, 02:52 PM
got this error:

Warning: str_repeat(): Second argument has to be greater than or equal to 0. in /modules/navigation.php on line 109
Seems that if i leave the "level" Field empty, it doesn't like it.

nexia
06-04-2005, 07:33 PM
...

will it be ready for vB 3.5 ?!

Brian
06-04-2005, 07:34 PM
For support issues, please start a new thread instead of replying to this one. Makes things much easier that way. ;)

sub_ubi
06-05-2005, 04:24 AM
If a new release for 3.5 is right around the corner, is there much point in re-working our sites now?

Or will that be far away?

ConqSoft
06-05-2005, 04:27 AM
vBulletin 3.5 isn't even out in BETA yet. Then it'll have to go through umpteen RC releases most likely too. It'll be a while before you should worry about running vBulletin 3.5 on a "production" web site.

sub_ubi
06-05-2005, 04:29 AM
Good point. Downloading vba 2.0 now!

Regs
06-05-2005, 12:26 PM
Brian,

Great stuff as usual!

One minor point in the upgrade instructions... you might want to add a notice about changing the full path to your forums in the cmps_index.php file before uploading...

:D

Cheers,

~Regs.

nexia
06-05-2005, 08:48 PM
also, about the upgrade, would be VERY GOOD to identify the files modified in the older version and how to make them back to the original way, as we don't need these modifs anymore...

but actually, this is the only only detail i can think of... GREAT UPGRADE!

mholtum
06-05-2005, 09:19 PM
also, about the upgrade, would be VERY GOOD to identify the files modified in the older version and how to make them back to the original way, as we don't need these modifs anymore...

but actually, this is the only only detail i can think of... GREAT UPGRADE!If you happen to have the old downloaded CMPS, just check that install file and reverse it. ;)

nexia
06-05-2005, 10:22 PM
If you happen to have the old downloaded CMPS, just check that install file and reverse it. ;)
.. that was not for me actually, but for the newbies that have no attitude with coding... there are a lot you know...
... with more than 3 thousand hundred codelines on vB, i know how to reverse an install.. :)