The Blog Mod - Integrating It Into IP ? »  Show posts from    to     

Icy Phoenix


Archived phpBB Topics (Styles, Mods, Support) - The Blog Mod - Integrating It Into IP ?



Chaotic [ Tue 24 Jun, 2008 03:20 ]
Post subject: The Blog Mod - Integrating It Into IP ?
Having some trouble here and I hope Kas or Lopalong will have some knowledge regarding the error I'm receiving. I've installed the mod quite effortlessly but am getting a Security Alert from CrackerTracker upon blog creation. Is there a setting I can edit in a CBACK file somewhere that will allow full cooperation with this modification?

Security Alert:

Spoiler: [ Show ]


Here is the modification location and install directions.

Thanks to anyone who can get me on the right track!

http://www.outshine.com/software/the-blog-mod/

Spoiler: [ Show ]


Lopalong [ Tue 24 Jun, 2008 16:09 ]
Post subject: Re: The Blog Mod
Mate, Code in Code-Wrappers - Please. :(

These files (It's getting too late for me to be looking what is in what file?).

Do them one at a time and test. Some may already have the CT_* line with MEDIUM so change it to "LOW".

Find: define('IN_PHPBB', true);

After ADD (Or change as required): define('CT_SECLEVEL', 'LOW');

## viewtopic.php,
## admin/admin_groups.php,
## includes/constants.php,
## includes/page_header.php,
## includes/usercp_viewprofile.php,

If nothing changes during each test - remove / change back what you did with the file. ;)

Let's see what happens? :P

If NOTHING! Then it will be time to look at what files comes with the MOD you've added - so one will need to know where to get it. :P

You can also help there by checking the browser bottom-bar for the url that you mousing over to start this thing. (possibly weblog.php or something) Then add the code above to that file. Also check what's under define('IN_PHPBB', true); "Path-Wise" that it's calling and progress through those files doing the same thing. ;)

Best of luck! :P


crimsonsun [ Tue 24 Jun, 2008 22:11 ]
Post subject: Re: The Blog Mod
i had a similar error with ct applying another mod, throw it into debug mode and replicate it, this time you will get a precise msg stating what line in what file is causing the error..


Chaotic [ Tue 24 Jun, 2008 22:16 ]
Post subject: Re: The Blog Mod
Please forgive my stupidity. I wasn't thinking.

Thanks for the tips Lopalong. I tried adding that line in all the files you mentioned, but had no luck. I then added that line in the weblog_config.php file and it finally let me create a blog. I'm now seeing another error when previewing/posting a new entry in the blog:

Spoiler: [ Show ]


Undefined function...does that mean that function isn't listed in includes/functions or is this a database problem? I know you aren't familiar with The Blog Mod and it isn't supported on this website, but I am really appreciating all the help you are giving.

Let me know if you know of a "quick-fix" or if you want to throw the towel in...lol.

Thanks again buddy 8)


Lopalong [ Wed 25 Jun, 2008 08:38 ]
Post subject: Re: The Blog Mod
Thanks crimsonsun, I keep forgetting about Cback and Debug - Maybe it's because I don't use it. ;)

Chaotic,

That string is for parsing bbcode in phpBB2* and Icy Phoenix uses different code. It also brings to mind a short discussion about this, or another weblog (w-united or something) here somewhere and not all that long ago. ?

It's going to take a lot of work to MOD that application to work with IP - And not something I am particularly interested in doing.

Sorry Buddy,

You'se is on you own.

PS: You should also look at the similar topics here to see where it headed and / or how it finished up. ;)


Chaotic [ Wed 25 Jun, 2008 10:52 ]
Post subject: Re: The Blog Mod
Thats ok. Thanks for all your help, as usual, Lopalong.


Lopalong [ Wed 25 Jun, 2008 12:23 ]
Post subject: Re: The Blog Mod
Don't sound so glum :P

I'm up to here -> And Note the "Body Text" :mricy:

blog


Replace the file in the .zip - and when you're done. I'll move this thread to the Generally-Topic stuff. :roll:

Smilies are not parsing yet from IP - Working very S.L.O.W.L.Y to find the problems. :censored:


Chaotic [ Wed 25 Jun, 2008 19:54 ]
Post subject: Re: The Blog Mod
I didn't mean to sound like that, but I didn't expect you or anyone to work on this further than what you did. I'm not very knowledgeable with these errors or the workarounds.

I replaced the file and am still seeing this error when clicking preview:

Spoiler: [ Show ]


If I go straight to submit, the entry is posted and viewable, but is using html. I enabled HTML in the board just for testing purposes, but the formatting was still the same as in the picture below:

Spoiler: [ Show ]


Thanks again for continuing your work on this. :mryellow:


Lopalong [ Thu 26 Jun, 2008 00:05 ]
Post subject: Re: The Blog Mod
Stripping the html would be about the last step to fix - it's getting the whole thing to work first within IP.

It gets worse as one progresses through the functions, and has to continually modify the code, paths, add and remove vars and whatnot (to remove all of the other errors that pop up), just to be able to progress to the next step. :(

The whole thing is full of script like that. It's also getting a little out of the boundaries of my expertise unless I do a whole lot more reading and learning. :P

And for what the blog-mod is and what it does, in my opinion it's not worth the effort. :(

I may try a patch for it rather than integrate it fully into IP functions. - - - Maybe. ;)


Chaotic [ Thu 26 Jun, 2008 07:53 ]
Post subject: Re: The Blog Mod - Integrating It Into IP ?
Just the stuff you are doing now, I'm grateful for!

Is the wordpress blog mod better than this mod in your opinion?

Thanks again Lopalong.


Lopalong [ Thu 26 Jun, 2008 12:45 ]
Post subject: Re: The Blog Mod - Integrating It Into IP ?
I had Fantastico install the latest wordpress on my site (Not something I'd use myself) for a look-see. It would have to be 1000% better than weblog, but again it's the same drawback - Modded for phpBB with w-united and again lots of variations to the MOD code and IP files to make it work with IP.

The only people who will get this to work are the Core Programmers I think - But they seem to be conspicuous in their absence, or uninterested in anything that anyone is working on, and appear to prefer to "Leave it up to MG".

Dunno! But if a "Blog" like wordpress bridged to a forum is what I wanted to keep me happy - I'd be using phpBB2-* (or 3 If the WP MOD has been made compatible).

I suppose one could go through the w-united MOD.TXT and remove all of the instructions that are easy and a 100% correct in relation to files and code additions / replacements / alterations etc, and leave everything that does not reflect what the author indicates as to where or what should be / looks like etc. And post the remaining "Hard" instructions here so that hopefully those who know where everything is, how it has been altered or where it has been moved to - can take it up and finish it with new instructions for those elements.

I've had a look at wp-united and would say that about 80% is OK, 10% I can fix and 10% indicates changes I can't find anywhere because of the way IP code and the location of it has changed. viewonline.php = half of functions_mg_online.php etc just being one of them :P

Maybe 5% I can't find. :roll:

I should have come here 12 months ago. :shock: :mrviolet:


Mighty Gorgon [ Thu 26 Jun, 2008 13:05 ]
Post subject: Re: The Blog Mod - Integrating It Into IP ?
Blog Mod was buggy and had security holes... that is why I have never integrated it in IP.

Plus I don't like having such a tool... because it allows too many customizations by registered users... and it is highly unsafe.

Having said that... anyone is free to install this mod on his site taking its own risk.

Honestly I cannot help in the full process of integrating this MOD because it is time consuming... and time is a precious resource for me nowadays...

I can only help with small issues but only if you provide me with ready to use package to test.

Finally I don't want to criticize users choice... but I believe that if think you need a blog, you don't need IP: if configured well Icy Phoenix can be used as a blog as well... no need to integrate Wordpress or Joomla or anything other else, because it means you don't need IP. Better use any blog or CMS you like and standard phpBB 3. You will get better performances, better support, better security... no reasons to keep using IP if it doesn't fit your needs. Again... it is just my opinion... it isn't mean to offend or criticize anyone here.


Mighty Gorgon [ Thu 26 Jun, 2008 17:00 ]
Post subject: Re: The Blog Mod - Integrating It Into IP ?
A little update...

Maybe you may be also interested in this mod...

http://www.mpsmod.com/

Someone already integrated it in Icy Phoenix...


Chaotic [ Thu 26 Jun, 2008 18:20 ]
Post subject: Re: The Blog Mod - Integrating It Into IP ?
Mighty Gorgon wrote: [View Post]
Blog Mod was buggy and had security holes... that is why I have never integrated it in IP.

Plus I don't like having such a tool... because it allows too many customizations by registered users... and it is highly unsafe.

Having said that... anyone is free to install this mod on his site taking its own risk.

Honestly I cannot help in the full process of integrating this MOD because it is time consuming... and time is a precious resource for me nowadays...

I can only help with small issues but only if you provide me with ready to use package to test.

Finally I don't want to criticize users choice... but I believe that if think you need a blog, you don't need IP: if configured well Icy Phoenix can be used as a blog as well... no need to integrate Wordpress or Joomla or anything other else, because it means you don't need IP. Better use any blog or CMS you like and standard phpBB 3. You will get better performances, better support, better security... no reasons to keep using IP if it doesn't fit your needs. Again... it is just my opinion... it isn't mean to offend or criticize anyone here.

It does allow a lot of customizations, but it looks completely configurable in the ACP to not allow certain things.

I have quite a few users that would be interested in keeping a personal gaming blog that is tied to their user account at my website.

I don't understand how you think IP could be used as a blog. I'm looking for a blog mod that will give each user their own personal blog. IP is doing a pretty good job of fitting my community, but I'm looking to expand my user's IP experience further than what is already offered. Even if only a handful of users were to use the blog, just knowing that feature is available would show your users you really do have everything.

Think of the personal blog as you would the game of Sudoku included with IP. It's there, but many people don't use it. It's still there for anyone to enjoy. I do understand that you and the IP staff are busy people, but would it be a bad thing for IP to expand it's horizons? After all, for some reason, you included Sudoku, lol.

/opinion.

I know you are a busy person Lopalong and I am very grateful for the effort you put into this for me. It's rare that you find someone as helpful as yourself. This modification looks to be very challenging and maybe impossible, so it might be a good idea to just call it a day and leave it be.

Again, thanks for your help buddy. 8)


Lopalong [ Thu 26 Jun, 2008 23:54 ]
Post subject: Re: The Blog Mod - Integrating It Into IP ?
Chaotic,

You've given all the right reasons for why you want this type of application to run on your site :P

So stand by! - I'll see what I can sort out with wordpress and wp-united and run it past MG to have a look at it, because I'm still finding my way through a lot of IP and how the code has been changed even moreso than Orion. ;)

I agree with MG about the Blog Mod - could be more trouble than what it's worth - Even so, wordpress is a whole lot more professional, both to use and to look at.

Don't hold your breath - But I will keep you updated. 8)


Chaotic [ Fri 27 Jun, 2008 08:04 ]
Post subject: Re: The Blog Mod - Integrating It Into IP ?
Wordpress looks a lot better and it was what I originally had in mind for my community. In fact, I believe I still have it installed, for the most part, on my website. Thanks for your continuation Lopalong!


Lopalong [ Fri 27 Jun, 2008 08:36 ]
Post subject: Re: The Blog Mod - Integrating It Into IP ?
Your timing is impeccable! :mricy:

I'm about to install a fresh IP and wordpress - Then overwrite it with pre-modded files etc. :)

The original install script was full or traps - not saying this is going work either - but I've got good backup. 8)

Wish me luck - I need it. :P

Edit:

Damn!, I started running into deprecated code and went looking for some answers. :(

Code: [Hide] [Select]
Fatal error: Cannot redeclare create_user() (previously declared in I:xampphtdocswpresswp-unitedwp-functions.php:312) in I:xampphtdocswordpresswp-includesdeprecated.php on line 1264


w-united stops at wordpress v2.2.3 which I've just d/l - so tomorrow we start again. ;)

This explains it pretty well:

http://www.wp-united.com/viewtopic.php?f=7&t=286

http://wordpress.org/download/release-archive/


Chaotic [ Fri 27 Jun, 2008 12:31 ]
Post subject: Re: The Blog Mod - Integrating It Into IP ?
The mod author is hardly around which is a shame. I never ran into those last two errors, I think. I also saw you are using pre-modded files too. I'm not great with php, but if you need any help, let me know!

Thanks! 8)


Lopalong [ Fri 27 Jun, 2008 13:35 ]
Post subject: Re: The Blog Mod - Integrating It Into IP ?
Chaotic wrote: [View Post]
I'm not great with php, but if you need any help, let me know!

Thanks! 8)


I knew you weren't a slouch and had your finger on the pulse of things, about the same as me. ;)

I'm only a learner, self taught and go by example and logic mostly. (Something like reading Braille) :mricy: :mrgreen: :shock:

Anyway we're in, with only one small conflict I adjusted in Icy Phoenix that I'll have to run past MG to resolve it. It doesn't stop IP from working, it just disables pagination. (I think - because I haven't tested it). :(

Now I have to back-track the install instructions and clean them up - then do a fresh install of both IP, wp-united and wordpress following those instructions. Then you can have a copy for BETA testing; and MG can have a copy to "Validate" before official release. :P

I don't really see any problems with it - But it was never going to work following the phpBB instructions and I only hope that I've got it right and haven't created other problems for MG to fix.

Your help will come in handy too, because no doubt there will be other adjustments to markup and .css etc, to be made.

As you can see in the pic - it's off-centre. But I do want the script running clean before I worry about the .css. :censored:

wp


Now I'm going to get some S.L.E.E.P! 8)


Chaotic [ Fri 27 Jun, 2008 16:20 ]
Post subject: Re: The Blog Mod - Integrating It Into IP ?
It's looking good Lopalong!

I'll be checking in on this thread frequently today. 8)


Lopalong [ Sat 28 Jun, 2008 04:58 ]
Post subject: Re: The Blog Mod - Integrating It Into IP ?
It's not looking so good today. ;)

I think I'd better create a DEV site, because IP themes were never designed to accommodate something like this, and I don't want to hijack this site. The second reason is, it needs a working site to sort out theme problems and to fine tune it for IP. Then it can be released here as a working MOD.

In the previous pic it shows WP inside IP, and it needs work. - This pic shows IP inside WP - It's also a quick hack of "ice" which doesn't look too bad, but there's a lot of templates behind it that need to be extensively modified.

On the other hand, it means modifying WP themes - and that certainly doesn't belong here at IP. :P

Of course, there's also phpBB2* and 3 that will work out of the box with the phpBB default-style templates? I couldn't imagine what would happen to WP under a phpBB extreme style. :censored:

"icyWP" is that a good name for a test site or what? :mrgreen: :shock:

icy50


Update:

I've only played today with the possibilities of integration to determine which direction to take in modifying what? IP or WP as far as themes go.?

WP themes are not difficult to modify, which I've done to the default. I also wasn't aware that they come in all sorts of width's for different styles, as in the pic. (Don't like the blue - but it has possibilities)

So I think it can be done both ways - Swap WP out and it can go down to 50% width, combine it / mod the template and move the width to about 90%, which seems to suit IP the best.

Anyway, this will be the test site for it, and you're already a member (It's a clone of /ip/): http://icythemes.com/ipwp/forum.php

Tommorrow I'll install WP there. ;)

icy890px


Chaotic [ Sat 28 Jun, 2008 12:45 ]
Post subject: Re: The Blog Mod - Integrating It Into IP ?
That color scheme looks pretty good though, lol.

I bookmarked the test site!

Thanks Lopalong!


Mighty Gorgon [ Wed 02 Jul, 2008 13:07 ]
Post subject: Re: The Blog Mod - Integrating It Into IP ?
Chaotic wrote: [View Post]
I don't understand how you think IP could be used as a blog. I'm looking for a blog mod that will give each user their own personal blog. IP is doing a pretty good job of fitting my community, but I'm looking to expand my user's IP experience further than what is already offered. Even if only a handful of users were to use the blog, just knowing that feature is available would show your users you really do have everything.

Think of the personal blog as you would the game of Sudoku included with IP. It's there, but many people don't use it. It's still there for anyone to enjoy. I do understand that you and the IP staff are busy people, but would it be a bad thing for IP to expand it's horizons? After all, for some reason, you included Sudoku, lol.

Take a look at this page:

http://www.cucinainsimpatia.net/ricette_utenti_lista.php

With a bit of extra customization may be used as a blog...

Take a look at this as well:

http://www.mightygorgon.com

In any case you are free to install anything you think you need in your site. :wink:

What I'm saying is that I will not include by default such features, because you can't ever imagine the impact on the support side and the security issues that these mods may address. I prefer having something being more secure. Anyway... it's a personal taste. :wink:

Sudoku is there because have been installed maybe 3 years ago... and never updated... I didn't choose to install it... but is there and I don't see reasons to remove it. I would have removed KB... but users doesn't understand that that MOD is coded awfully... they prefer having security holes instead of using something better organized in different way. As you can see KB is disabled here... it is still in IP just because it has been installed in older versions and many users still use it. I have sanitized most of the code... but it is still an awful mod. This is my humble opinion... I hope to not offend anyone.

Coming back on topic, maybe you missed this post.

Mighty Gorgon wrote: [View Post]
A little update...

Maybe you may be also interested in this mod...

http://www.mpsmod.com/

Someone already integrated it in Icy Phoenix...


If you are looking for a "Facebook" like app... you may be interested in that... and you may also try to contact the author for help in integrating it into IP.

It shouldn't be tough... only templates should require some hard work.


Lopalong [ Mon 07 Jul, 2008 15:16 ]
Post subject: Re: The Blog Mod - Integrating It Into IP ?
I don't know, using someone else's work that has already been bridged for IP and / or phpBB 2.latest* :) kind of takes the fun out of it. ;)

Even WP doesn't recommend any version below the later v.2* because of security problems. So it can't be too bad, and at least it is supported by "Professionals". :roll:

And at the moment I've bridged IP to WP v2.3.3 and I don't really see any major problems with those, unlike WP v2.5 and 2.5.1 which has been terribly over-cooked and has a lot of its own internal coding problems - so much that their support forum is full of questions about, with little or no replies. :(

Maybe that's why WP v2.6 Beta2 is the latest in the cooker - and so far it's bridging pretty well with IP, as a lot of the previous bridging problems with 2.5* no longer exist.

Don't know if WP v2.6 will seamlessly bridge with IP though - still plugging away at it until I overstep my expertise, but the demo looks pretty good so far. :mrgreen:

Demo of a sort: http://myphp-bb.com/wpress/blog.php/




Powered by Icy Phoenix