TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

May 03, 2024, 10:44:09 PM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,178
  • Total Topics: 21,220
  • Online today: 106
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 1
  • Guests: 50
  • Total: 51
  • tino

[Release] Blog module for TP 0.8.6

Started by feline, July 25, 2006, 12:05:36 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

feline

It's time to spend a Blogging to all TP user ...  8)

First release of FelBlog for TP 0.86 and SMF 1.1 RC2 is now available as MOD !

You can replace the whizzywig editor with the new release in the archive. This include a Image upload. A Help page is also inside the archive.

Enjoy and have fun ...  ;)

Fel

trench


RoarinRow


SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

RoarinRow

I installed on my test site and have 7 pages of errors.  The first 4 pages has this error:

8: Undefined index: id
File: /forum/Sources/Packages.php
Line: 231

The other 2 pages are these errors repeated:

2: getimagesize(/forum/avatars/http://www.avalanchestyle-test.com/forum/AVS/Cypress_Sm.jpg): failed to open stream: No such file or directory
File: /forum/Sources/FelBlog.php
Line: 838

8: Undefined offset: 1
File: /forum/Sources/FelBlog.php
Line: 841

The Blog page has the word 'array' in it, but that is not what I typed in the message.

No worries, that's why I have a test site.   :up:


SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0


feline

Quote from: RoarinRow on July 25, 2006, 01:20:05 AM
8: Undefined index: id
File: /forum/Sources/Packages.php
Line: 231
It's a SMF error ..

Quote
getimagesize(/forum/avatars/http://www.avalanchestyle-test.com/forum/AVS/Cypress_Sm.jpg): failed to open stream: No such file or directory
File: /forum/Sources/FelBlog.php
Line: 838

external avatars currently not supported

Quote
8: Undefined offset: 1
File: /forum/Sources/FelBlog.php
Line: 841

a follow error on previous

Fel

akulion

EEEEEEEEEEEEEEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK!!!! :D

(scream of joy)

Now to test it thanks :D

os1

can you tell me why the word ARRY appears, and the text that is written in the blog doesnt show up?

akulion

oh no I forgot Im running 0.9.5c Alpha

dang...installation fails in 3 files on that probably due to changes:

./Sources/TPmodules.php
./Themes/default/TPortalAdmin.template.php
./Themes/default/TPortalBlocks.template.php

Anyhooo....great release :D


feline

#9
To fix the external avatar problem ...

open FelBlog.php and search for:

elseif(!empty($avatar))
{
$ava_url = $modSettings['avatar_url'] .'/'. $avatar;
$ava_dir = $modSettings['avatar_directory'] .'/'. $avatar;
}


replace this with:
elseif(!empty($avatar))
{
if(stristr($avatar, 'http://') === FALSE)
{
$ava_url = $modSettings['avatar_url'] .'/'. $avatar;
$ava_dir = $modSettings['avatar_directory'] .'/'. $avatar;
}
else
{
$ava_url = $avatar;
$ava_dir = $avatar;
}
}


The link must by readable for all (.htaccess)

I think, that help on this.

Fel