Page 2 of 2

Re: BBClone

Posted: Thu Jun 05, 2008 6:18 am
by cyberman
Good work - many thanks.

Re: BBClone

Posted: Tue Jun 24, 2008 2:05 pm
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?

Re: BBClone

Posted: Tue Jun 24, 2008 9:46 pm
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

Re: BBClone

Posted: Tue Jun 24, 2008 11:56 pm
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)

Re: BBClone

Posted: Wed Jun 25, 2008 12:10 am
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

Re: BBClone

Posted: Wed Jul 02, 2014 8:19 pm
by videocd
make them work bbclone in CMS Made Simple ™ 1.11.10
define ("_BBC_PAGE_NAME", ????? ); ???