BBClone

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
cyberman

Re: BBClone

Post by cyberman »

Good work - many thanks.
mike-r

Re: BBClone

Post by mike-r »

vilkis wrote: So - I modified the following files:

...
There is the same Problem, like in the Hack of index.php of CMSMS (what also works); if there is an Update of bbclone, i have to hack the Files again.
Ok, bbclone is not updating every two weeks ;) but it's not a good solution.

I'm not a programmer, and i don't understand, where the great difference for the Code is between index.php and the UDTs, there should be a way without hacking Files?
vilkis

Re: BBClone

Post by vilkis »

I agree there is the same problem. I did not find how to make the bbclone working in CMSMS without hacking. Use the variant of index.php hacking if you do not need UDT. That solution is better and simpler than the hacking the of bbclone code. The hacking of bbclone code is for those who need and know why they need to use UDT for including bbloce.

Vilkis
mike-r

Re: BBClone

Post by mike-r »

vilkis wrote: Use the variant of index.php hacking if you do not need UDT.
I/We need the UDT! ;)

But i have found a thing similary a small solution now, not very fine, but easier than patch index.php with the full bbclone-code (or patch bbclone itself).
I made a file named bbclone.php with the code for call bbclone, and hack the index.php only with "include bbclone.php" or "require bbclone.php".

That is something, that i can remember every upgrade without searching every time the bbclone-call in tons of backups ;) 

P.s. I think, it should be nice for this and similar problems to include an easy function in cmsms in the Future, which includes such Hacks in index.php
Like a simple empty call in index.php to the usergenerated "hacks.php" (like in old Wordpress)
vilkis

Re: BBClone

Post by vilkis »

I had the idea the same to your solution in my mind  ;)
But this does not solve the issue when one needs to include bbclone using UDT. For example: I want that the pages with one template would be counted and pages with another template - not.
Vilkis
videocd
New Member
New Member
Posts: 2
Joined: Sat Jun 07, 2014 8:41 am

Re: BBClone

Post by videocd »

make them work bbclone in CMS Made Simple ™ 1.11.10
define ("_BBC_PAGE_NAME", ????? ); ???
Locked

Return to “CMSMS Core”