Welcome, Guest. Please login or register.
Did you miss your activation email?
February 11, 2012, 02:47:19 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
149557 Posts in 21091 Topics by 7532 Members
Latest Member: nes00103
* Home Help Search Login Register
Pages: [1] 2   Go Down
Print
Author Topic: Completed Media Blog  (Read 17846 times)
hudge

Offline Offline

Posts: 174


WWW
« on: June 30, 2006, 09:33:25 PM »

Ok here is version 1 of the Media Blog. Thank you to those who helped, it was because of you.

Here is what it is, it is the news mod with bonuses. You can attach video and or images. Also you can have it display in multiple columns. It also has a rss feed and itunes feed built in.

What is coming very soon is a companion mod that will let you show last XX items, show archives, show random article, show group list, tags, ratings.

Get it today, and let us know what you think, please post and not im or pm at this time.
http://hudge.com/contributes/mediablog.zip

@stefen how do we add this to the addons?
Logged

: Member of the Baker's Dozen :
Baking at 350˚ for 2 hours now...
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6817


WWW
« Reply #1 on: June 30, 2006, 10:57:51 PM »

Hi Jim,

impressive ... had a wee look at it (on the site of my Wife). Although I didn't test it completly through I didn't find any apparent faults, so I uploaded it to the add-on repository.

One question though, is there any chance, that the category list can be read from an external file, like CSV or a simple list? That would make customisation easy. If I find time (and that is not easy as a newly selfemployed cool) I will translate the language file into German. If somebody is faster though ...

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

mlohnen

Offline Offline

Posts: 31


WWW
« Reply #2 on: June 30, 2006, 11:59:19 PM »

Here's a dutch translation, NL.txt.. rename to NL.php to make it work.
Logged
watermelon

Offline Offline

Posts: 26


« Reply #3 on: July 01, 2006, 04:41:36 AM »

should this be just a new page type or is there some other way that it is to be used? I just installed it and it said that it installed successfully, but I don't see a blog page type...

Thanks
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6817


WWW
« Reply #4 on: July 01, 2006, 08:03:11 AM »

Here's a dutch translation, NL.txt.. rename to NL.php to make it work.

not neccessary if you download it now from the add-on repository, since it has been updated and the language file is now included.


should this be just a new page type or is there some other way that it is to be used? I just installed it and it said that it installed successfully, but I don't see a blog page type...

It indeed crates a new pagetype called "Mediablog". What Version of WB are you using? I would think, that the installation was not successful ... can you check that the module is present in the modules folder and that the databas entries are there? Als just try to use the "reload add-ons" function in the section "admin" - "settings" - "show advanced options" ...

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

marccouture

Offline Offline

Posts: 216



« Reply #5 on: July 04, 2006, 05:32:26 PM »

This module installs just fine, but there are a few quirks "out of the box":

- Formatting text makes drop-down menu choices appear further up the page (for instance, when trying to change the default font, the drop-down menu appears five or six lines on top; I am using FCKEditor);
- Uploading images: doesn't work at all, tried various image types and sizes, none appear in blog entries;
- Comment link: when clicked, goes to a non-existant page (on my test setup, the link goes to http://localhost/wb/pages/media_items/%5C%22http://localhost/wb/modules/mediablog/comment.php?id=2\%22)

Thanks for the work, this shows promise!
Logged

Marc C.
pcwacht
Guest
« Reply #6 on: July 04, 2006, 09:58:39 PM »

Quote
Uploading images: doesn't work at all, tried various image types and sizes, none appear in blog entries;
Can you choose the image after you have uploaded the image and return to the same item?

If so, make sure you have in settings where you want the picture:
[IMAGE_NAME] for the imagename
[IMAGE] for the image as uploaded
[IMAGE_SMALL] for small images, thumbsize
[IMAGE_LARGE] for resized image

Allso make sure to choose the right GD version in settings, try GD=2 if resizing fails, try GD=1

Quote
Comment link: when clicked, goes to a non-existant page (on my test setup,

Goto settings, change comments_footer from
Code:
</table>
<br /><a href=\"[ADD_COMMENT_URL]\">Add Comment</a>
to
Code:
</table>
<br /><a href="[ADD_COMMENT_URL]">Add Comment</a>
This needs to be changed in add.php as well

Quote
Formatting text makes drop-down menu choices appear further up the page

Couldn't get same behaviour with htmlarea, xinha, fckeditor


John
Logged
uschzmet

Offline Offline

Posts: 2


« Reply #7 on: July 17, 2006, 06:51:04 PM »

why shows '[IMAGE]'   the absolute path ...not relative  cry   huh
Logged
pcwacht
Guest
« Reply #8 on: July 17, 2006, 09:35:26 PM »

The path is created during runtime, it fetches the parts from config and the database entry

Relative paths will only work if the path from the root of the server is known, and this is not allways the case,

If wb is installed in root, path is /...
if wb is installed in wb, path is /wb/...

This way works allways, might not be the best solution but it works...

John
Logged
uschzmet

Offline Offline

Posts: 2


« Reply #9 on: July 18, 2006, 06:30:44 AM »

the absolute path is in linux   for example /var/www/....

and this path is on [IMAGE] ....
Logged
pcwacht
Guest
« Reply #10 on: July 18, 2006, 09:16:45 AM »

Ahhh, sorry,

The path is needed for the thumbnail routine. It has caching etc so it needs to know the physical path for the image and the path to the cache dir.

I know it will give some detail away about your install.
It could be rewritten, ie, the thumb routine could fetch the path start from config.

Let me know if this will do and I will change it.

John
Logged
Ditto

Offline Offline

Posts: 21


« Reply #11 on: July 29, 2006, 01:52:41 AM »

Not sure what I'm doing wrong.  I installed the module without a problem, created a Private page using the MediaBlog type.  When I created my first group, I "uploaded" a pic to go with it and received this message:

Code:
Fatal error: Call to a member function on a non-object in /home/sitesolu/public_html/modules/mediablog/save_group.php on line 25

The group, however, was created fine so I added a new item into the group, again "uploading" an image to go with the item... and got the same thing.

I'm really looking forward to using this module and am happy to test further.  Let me know what to do, and I'll jump on it.

Thanks!

 
Logged
pcwacht
Guest
« Reply #12 on: July 29, 2006, 02:42:47 PM »

You tried saving an image to the group or to an item wich belong to that group?

The save_group.php is for saving images to the group itself so they can be displayed with the item in a list.
This is allso faulty in news module where this moudle is kinda clone of.

Let me know where the picture save goes wrong and I'll try to correct it.

John
Logged
rikkibr

Offline Offline

Posts: 46


« Reply #13 on: July 31, 2006, 04:54:57 PM »

Hi

I want to be able to submit entries without images... how do I do that?

I always get a square with a red cross, like there is suppose to be an image there.

Thanks for this module  wink
Logged
pcwacht
Guest
« Reply #14 on: July 31, 2006, 05:23:28 PM »

Change in settings the templates, remove [IMAGE] from there.


John
Logged
marccouture

Offline Offline

Posts: 216



« Reply #15 on: August 08, 2006, 05:37:41 PM »

Change in settings the templates, remove [IMAGE] from there.


John

Can you describe exactly what you mean here?  I can't find this setting.  Thanks!

EDIT: never mind, found it, I must be blind or something, hahaha.  rolleyes
« Last Edit: August 08, 2006, 05:48:24 PM by marccouture » Logged

Marc C.
marccouture

Offline Offline

Posts: 216



« Reply #16 on: August 08, 2006, 05:47:16 PM »

Also, how can I add support for accentuated characters in this module?  All posts with characters such as é, à, à, etc., all appear as question marks on the public side...  Thanks!
Logged

Marc C.
DGEC

Offline Offline

Posts: 386


WWW
« Reply #17 on: August 08, 2006, 06:37:13 PM »

I know it will give some detail away about your install.
It could be rewritten, ie, the thumb routine could fetch the path start from config.

Let me know if this will do and I will change it.

If you can do this, it would be very good for many people. For example, I have a customer site that is in a subdirectory of my main site - much better for it to show up as a link to their domain not mine.
Also helpful if you move the site location, reduces the work required. When I created the site, I had it in a subdirectory because I couldn't use their domain name yet. I had to change all the images when I went live with the site.
Logged
brownj

Offline Offline

Posts: 18


« Reply #18 on: August 13, 2006, 01:51:06 PM »

Yeah, how do we solve this root image problem? I am going to India in a couple of weeks, I thought the media blog would be a good way to keep in touch with family and friends, to let them know what I am doing.
Logged
subzero569

Offline Offline

Posts: 1


« Reply #19 on: August 14, 2006, 12:39:36 AM »

I am trying out mediablog module on a client site.  Everything works well except the long text for items.  I don't see anywhere in the settings to display the long text.  I see '[SHORT]' but isn't displayed when clicking the 'Read More' link only the Title and author info.  I tried to add [LONG] but it doesn't work.  Any thoughts?

Can someone assist, please?

Thanks.
Logged
pcwacht
Guest
« Reply #20 on: August 22, 2006, 11:40:36 AM »

the long story is hardcoded in the view.php of the mediablog

Look in view.php at around line: 380

Code:
// Print long
echo $item_long;
The item_long is not parsed yet in template form at field item_header.


John
Logged
kickarse

Offline Offline

Posts: 64


« Reply #21 on: August 25, 2006, 06:34:54 PM »

For the "Add Comment" link I get

http://www.vnaandhospice.org/pages/media_items/%5C%22http://www.vnaandhospice.org/modules/mediablog/comment.php?id=2\%22
Logged
pcwacht
Guest
« Reply #22 on: August 25, 2006, 10:51:51 PM »

Am looking at that as well
Logged
kickarse

Offline Offline

Posts: 64


« Reply #23 on: August 28, 2006, 07:21:48 PM »

I tried fixing it in the view.php but everything I do screws the install...
Logged
pcwacht
Guest
« Reply #24 on: August 28, 2006, 10:18:54 PM »

Try xampp for testing and fiddling (www.apachefriends.d e)

Installs like a breeze in windows, doesn't touch the registry and works like a charm

Then you can edit files, save them and test them on your local install.

Have fun,
John
Logged
Pages: [1] 2   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!