PDA

View Full Version : CMPS Module - New/Random Entries (updated for v1.0.0)


Pages : 1 2 [3]

Brian
04-27-2009, 09:37 AM
It's the last module listed unnder the Inactive Modules section... What's New.

Wiets
04-27-2009, 11:04 AM
It's the last module listed unnder the Inactive Modules section... What's New.

Hi Brian

Thank you for your patience and advise! :D
It is now working!

Our Sponsors
 

kderentz
05-07-2009, 04:46 PM
I installed it as the directions say but when I activate it I get the following error:

Fatal error: Call to undefined function dyna_fetch_private_categories() in /home/adwaymgt/public_html/timeattackforums/forums/modules/dyna_newrand_cmps.php on line 56

when I look at line 56 of the file its blank but line 55 says "$vbulletin->adv_dyna_opts = $vbulletin->$prefix_opts;"

also I have 3 instances of the Dynamics running ... one that shows up as vBa Dynamics, one that's TAF Blogs, and one that's Video Database. How do I find out what the vba_dyna_XXXXX is? as I dont remember. I really only want to set this up to show new posts in the TAFBlogs instance so do I still need to add in the other instances?

Brian
05-08-2009, 10:45 AM
Sounds like you either need to upgrade to the latest version of vBa Dynamics, or delete the module you uploaded and use the whatsnew_old.module file attached to the first post instead.

Our Sponsors
 

kderentz
05-08-2009, 11:33 AM
Brian ... I just did the upgrade yesterday ... Ill try the old one and see it that works.

kderentz
05-08-2009, 11:58 AM
Tried the old one and it shows up but Im getting this error displayed up in the header area:


Warning: Invalid argument supplied for foreach() in [path]/includes/vba_dyna_class.php on line 620

Warning: Invalid argument supplied for foreach() in [path]/includes/vba_dyna_functions.php on line 256

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in [path]/modules/dyna_newrand_cmps

kderentz
05-12-2009, 01:21 PM
Brian any ideas??? :(

Brian
05-14-2009, 10:40 AM
Sorry I missed your last reply... Any chance you could hold off on setting this up until next week? New versions of the CMPS and Dyanmcis should be released then that will make copying a module from Dynamics to the CMPS much easier and the converted module posted here will no longer be necessary. ;)

kderentz
05-14-2009, 12:00 PM
Yea I can wait :D

dholt
06-03-2009, 07:20 AM
CMPS (3.2) and Dynaimcs (1.2)

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in [path]/includes/vba_cmps_include_top.php on line 343

Warning: Invalid argument supplied for foreach() in [path]/includes/vba_dyna_class.php on line 629

Warning: Invalid argument supplied for foreach() in [path]/includes/vba_dyna_class.php on line 674

anyone as I have search and tried all so called fixes on this forum and nothing.

This all worked on another site I was using but not now.............

Brian
06-03-2009, 09:47 AM
You've upgraded to the latest version of the CMPS (3.2) and Dynaimcs (1.2), right? If so, there's no point in using this module or it's plugins. Just go to Admin CP => vBa CMPS => Add Module => vBa Dynamics Module, and select the What's New module to import.

dholt
06-03-2009, 10:08 AM
Yes and Yes

CMPS (3.2) and Dynaimcs (1.2), right? YES


Warning: array_merge() [function.array-merge]: Argument #2 is not an array in [path]/includes/vba_cmps_include_top.php on line 343

Warning: Invalid argument supplied for foreach() in [path]/includes/vba_dyna_class.php on line 629

Warning: Invalid argument supplied for foreach() in [path]/includes/vba_dyna_class.php on line 674

Brian
06-03-2009, 10:17 AM
There haven't been any other reports of an error like that... Does your Admin CP => vBa CMPS => Diagnostics link report any errors?

dholt
06-03-2009, 10:21 AM
No

Every time I activate it it spits out whats above in the header

I also installed it 3 times now with same results.
Re-installed vbadvanced 2 times and still same

I only get this on the main vbadvanced page with the mod activated

bosss
06-04-2009, 10:37 AM
hello!

have same problem and have last versions - cmps and dynamics

get this error messages on my header when module is activated ...


Warning: array_merge() [function.array-merge]: Argument #2 is not an array in [path]/includes/vba_cmps_include_top.php on line 343

Warning: Invalid argument supplied for foreach() in [path]/includes/vba_dyna_class.php on line 629


regards

bosss

Brian
06-04-2009, 11:34 AM
you've upgraded to the latest version of the cmps (3.2) and dynaimcs (1.2), right? If so, there's no point in using this module or it's plugins. Just go to admin cp => vba cmps => add module => vba dynamics module, and select the what's new module to import.

. ;)

bosss
06-04-2009, 11:51 AM
Originally Posted by brian
you've upgraded to the latest version of the cmps (3.2) and dynaimcs (1.2), right? If so, there's no point in using this module or it's plugins. Just go to admin cp => vba cmps => add module => vba dynamics module, and select the what's new module to import.

i do that - throught admincp and get errors after!

regards

bosss

bosss
06-11-2009, 07:19 AM
no solutions or any help??


when module is enabled i get this errors:

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in [path]/includes/vba_cmps_include_top.php on line 343

Warning: Invalid argument supplied for foreach() in [path]/includes/vba_dyna_class.php on line 629

Warning: Invalid argument supplied for foreach() in [path]/includes/vba_dyna_class.php on line 674

regards

bosss

Brian
06-11-2009, 12:06 PM
Try downloading the CMPS files from here again and upload all of the files in the forum/includes/ folder over your existing ones. There was an issue discovered a couple of days ago which could prevent the Dynamics instance from being initialized properly and could cause the error message you've posted.

bosss
06-12-2009, 06:47 AM
Try downloading the CMPS files from here again and upload all of the files in the forum/includes/ folder over your existing ones. There was an issue discovered a couple of days ago which could prevent the Dynamics instance from being initialized properly and could cause the error message you've posted.

Thanks - now works fine!

regards

bosss

BigCat
06-24-2009, 11:14 AM
** IGNORE POST - I read back through some of the preivous pages and discovered that this module isnt' needed with 1.2.0, so I'll just remove it and try the included features of the new vbA

Can anybody confirm if this module should work with vbAdvaned Dynamics version 1.2.0, and CMPS 3.2.0? We've been trying to activate this module in CMPS, but we're having one hell of a time getting the module to work. So far it's just breaking our homepage. :(

To start, the module installs itself as "temp", and by default doesn't point to a valid template. It's trying to load "adv_portal_temp", and I can edit the "temp" part, but the "adv_portal" seems locked. The templates other posters in this tread refer to don't seem to exist for me :(

Also, we use multiple instances, and the setting 'Dynamics Instance Prefix' refered to in the instructions doesn't seem to exist anywhere.

And no matter what I've tried, I can't get the page to not crash when the module is activated :(

Any suggestions?

Brian
06-24-2009, 11:24 AM
The module probably will not still work with v1.2/3.2. There's really no need for this module anymore if you're running the latest versions. Just go to Admin CP => vBa CMPS => Add Module => vBa Dynamics Module, and you can now select any Dynamics module you would like and import it to the CMPS.

kderentz
06-30-2009, 02:03 PM
The module probably will not still work with v1.2/3.2. There's really no need for this module anymore if you're running the latest versions. Just go to Admin CP => vBa CMPS => Add Module => vBa Dynamics Module, and you can now select any Dynamics module you would like and import it to the CMPS.

Brian ... sorry for the noobish question ... but what if I have multi installs of Dyna? how do I get it to pull entries from only one of the installs?

Brian
07-01-2009, 10:30 AM
When you go to the Add Module => vBa Dynamics Module link in your Admin CP, you will see all of your modules listed and grouped under the different instances. So just make sure you select the module from the correct instance and you will only see entries from that instance.

dholt
08-07-2009, 01:31 PM
Hi Brian I was just wondering what you did last time to get it to show up on my cmps page.

I understood about just using the import module function you added as I did that.

Also do I have to use the XML File here with it, as maybe that is why it is not displaying properly on the cmps page.

I know you did something the last time but you never said what that was.

Brian
08-07-2009, 03:09 PM
No, you shouldn't need the .xml file from here or anything else... If you've already imported the vBa Dynamics module then the only other thing you should need to do is edit the CMPS page(s) you want it shown on and enable it.

dholt
08-07-2009, 06:51 PM
No, you shouldn't need the .xml file from here or anything else... If you've already imported the vBa Dynamics module then the only other thing you should need to do is edit the CMPS page(s) you want it shown on and enable it.

Thanks as I enabled it but it seems not to display correctly bro.

Attached a screen shot

dholt
08-10-2009, 11:33 AM
Brian do you understand why it is not displaying properly. as it displays fine in Dyna but not on the cms page.

I thought you said you updated the downloads with the new fix when we talked a while back but for some reason it is displaying the same as it did before.

Brian
08-10-2009, 11:43 AM
I was just about to ask about your attachment, but I see you've fixed it since. :)

Looks like you just need to edit that module (the CMPS version) and disable the 'Enable Dynamic Template Resizing' setting. Dynamics has some code within it to try and figure out the column widths and make that setting work, but the CMPS does not have the same code so the code within the module basically thinks the column is 0 pixesl and tells it to use the lean template.

dholt
08-10-2009, 08:34 PM
wow! that was such a easy fix. Thank you so much.

dilbert05
11-06-2009, 10:44 PM
When you go to the Add Module => vBa Dynamics Module link in your Admin CP, you will see all of your modules listed and grouped under the different instances. So just make sure you select the module from the correct instance and you will only see entries from that instance.
When I do this I am getting a database error. It looks like it will work, but when I click to edit the module, or edit the page, or edit modules that were working, it gives me a db error.
Any idea what I've done wrong?

Brian
11-09-2009, 03:33 PM
Can you post the full db error here?

dilbert05
11-09-2009, 04:15 PM
Here's the error:


Database error in vBulletin 3.8.2:

Invalid SQL:

SELECT administrator.*,
userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, user.languageid AS saved_languageid,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid,
language.phrasegroup_global AS phrasegroup_global,
language.phrasegroup_posting AS phrasegroup_posting,
language.phrasegroup_adv_portal_cp AS phrasegroup_adv_portal_cp,
language.phrasegroup_cpglobal AS phrasegroup_cpglobal,
language.phrasegroup_adv_dyna AS phrasegroup_adv_dyna,
language.phrasegroup_adv_dyna_cp AS phrasegroup_adv_dyna_cp,
language.options AS lang_options,
language.languagecode AS lang_code,
language.charset AS lang_charset,
language.locale AS lang_locale,
language.imagesoverride AS lang_imagesoverride,
language.dateoverride AS lang_dateoverride,
language.timeoverride AS lang_timeoverride,
language.registereddateoverride AS lang_registereddateoverride,
language.calformat1override AS lang_calformat1override,
language.calformat2override AS lang_calformat2override,
language.logdateoverride AS lang_logdateoverride,
language.decimalsep AS lang_decimalsep,
language.thousandsep AS lang_thousandsep

FROM vB36_user AS user
LEFT JOIN vB36_userfield AS userfield ON (user.userid = userfield.userid)
LEFT JOIN vB36_usertextfield AS usertextfield ON (usertextfield.userid = user.userid) LEFT JOIN vB36_administrator AS administrator ON (administrator.userid = user.userid) LEFT JOIN vB36_language AS language ON (language.languageid = IF(user.languageid = 0, 1, user.languageid))

WHERE user.userid = 1;

MySQL Error : Unknown column 'language.phrasegroup_adv_dyna' in 'field list'
Error Number : 1054
Request Date : Friday, November 6th 2009 @ 08:35:14 PM
Error Date : Friday, November 6th 2009 @ 08:35:14 PM
Script : http://www.MySite.com/forum/admincp/vba_cmps_admin.php?do=editpage&pageid=1
Referrer : http://www.MySite.com/forum/admincp/vba_cmps_admin.php?do=listpages
IP Address : 999.99.999.99
Username :
Classname : vB_Database
MySQL Version :

Brian
11-09-2009, 04:49 PM
Did you by chance uninstall your primary instance of vBa Dynamics? The error message indicates that the adv_dyna phrase group is missing, though it should be there unless you've uninstalled the primary instance. If that's the case then I'd recommend re-installing the primary instance even if you don't have a use for it right now. The CMPS will grab setting and other phrases from your primary instance when vBa Dynamics modules are being used since the phrasegroups in the Admin CP need to be called before the modules are processed.

dilbert05
11-09-2009, 06:34 PM
Yup, that's what happened.
I had several instances, and I deleted the primary one.
I'll reinstall it and let you know if that fixes the issue.
Maybe that's the same issue here: http://www.vbadvanced.com/forum/showthread.php?p=179888#post179888 ??

dilbert05
11-09-2009, 07:57 PM
Hi Brian,
You are a genius.
That was the issue, I deleted the primary install.
I re-installed it and both issues are now resolved.
Sorry for the confusion I created.
Thank you for the help