Author Topic: MOD PhotoBlog  (Read 96891 times)

0 Members and 1 Guest are viewing this topic.

rinaldos

  • Guest
MOD PhotoBlog
« on: June 03, 2009, 11:22:58 PM »
MOD PhotoBlog Version 1.1.1 vom 19.07.2009

Alle die ein Update durchführen wollen (1.0.9 -> 1.1.0) schauen hier:
http://www.4homepages.de/forum/index.php?topic=24953.msg138730#msg138730

Aufgrund eines Fehlers von mir, muss nun leider ein Zwischenrelease durchgeführt werden. Alle die, 1.1.0 schon installiert haben, bitte nun die pb.php aus 1.1.1 austauschen.

:flag-de:
Folgende Dateien werden neu erstellt.
:flag-en:
These files are new.

/tiny_mce (Whole Directory / Ganze Verzeichnis)
/pb.php
/includes/functions_pb.php
/includes/page_header_pb.php
/lang/deutsch/main_pb.php
/lang/deutsch/email/blog_email.html
/lang/english/main_pb.php
/lang/english/email/blog_email.html

Alle Dateien aus dem Template Verzeichnis (Zip Datei)
----
:flag-en:
All Files from Template Folder (Zip File)

:flag-de: Folgende Dateien werden geändert
:flag-en:These files would be changed.
/member.php
/admin/settings.php
/includes/page_header.php (1 Zeile neu)
/includes/constants.php (4 Zeilen neu)
/includes/db_field_definitions.php (2 Zeilen neu)
/lang/deutsch/main.php (Am Ende einfügen)
/lang/deutsch/admin.php
/lang/english/main.php (Am Ende einfügen)
/lang/english/admin.php
/templates/default_960px/member_profile.html (Designabhängig)
/templates/default_960px/member_edit_profile.html (Designabhängig)
/templates/default_960px/user_logininfo.html (Designabhängig)
/templates/default_960px/user_loginform.html (Designabhängig)


1.
:flag-de:
entpacke das ZIP Archiv und lade die Dateien auf deinen Server.
erstelle ein Verzeichnis /data/media_blog/ und setze Schreibrechte/Leserechte darauf
:flag-en:
copy all the files from the Archiv to your Server
create a Directory /data/media_blog/

2.
:flag-de:
öffne /includes/constants.php
finde
:flag-en:
open /includes/constants.php
find


define
('WORDMATCH_TABLE'$table_prefix.'wordmatch');

:flag-de:
füge darunter ein
:flag-en:
add after:


//-----------------------
// BLOG MOD START
//-----------------------
define('USERS_PB_TABLE'$table_prefix.'users_pb');
define('USERS_PB_COMMENTS_TABLE'$table_prefix.'users_pb_comments');
define('USERS_PB_CATEGORIES_TABLE'$table_prefix.'users_pb_categories');
define('STATISTICS_TABLE'$table_prefix.'statistics');
define('USERS_PB_ADDITIONAL_TABLE'$table_prefix.'users_pb_additional');
//-----------------------
// BLOG MOD STOP
//-----------------------


3.
:flag-de:
öffne /includes/db_field_definitions.php
für über ?> folgenden Code ein:
:flag-en:
open /includes/db_field_definitions.php
add above ?>


//-----------------------
// BLOG MOD START
//-----------------------
$additional_user_fields['setting_email_blog'] = array($lang['setting_email_blog'], "radio"0);
$additional_user_fields['user_pb_allow'] = array($lang['user_pb_allow'], "radio"0);
//-----------------------
// BLOG MOD END
//-----------------------


4.
:flag-de:
öffne /includes/page_header.php
finde
:flag-en:
open /includes/page_header.php
find


if (!defined('ROOT_PATH')) {
  die(
"Security violation");
}


:flag-de:
füge darunter ein
:flag-en:
add after:


//-----------------------
// BLOG MOD START
//-----------------------
include(ROOT_PATH.'includes/page_header_pb.php');
//-----------------------
// BLOG MOD END
//-----------------------


5.
:flag-de:
öffne /lang/deutsch/main.php
für über ?> folgenden Code ein:
:flag-en:
open /lang/deutsch/main.php
add above ?>


//-----------------------
// BLOG MOD START
//-----------------------
include(ROOT_PATH.'lang/deutsch/main_pb.php');
//-----------------------
// BLOG MOD END
//-----------------------


:flag-de:
öffne /lang/english/main.php
für über ?> folgenden Code ein:
:flag-en:
open /lang/english/main.php
add above ?>
Thanks to 4ella for translation.


//-----------------------
// BLOG MOD START
//-----------------------
include(ROOT_PATH.'lang/english/main_pb.php');
//-----------------------
// BLOG MOD END
//-----------------------


6. öffne
:flag-de:
öffne /member.php
finde
:flag-en:
open /member.php
find


    $site_template
->register_vars(array(
      
"user_id" => $user_row['user_id'],
      
"user_name" => (isset($user_row['user_name'])) ? format_text($user_row['user_name'], 2) : REPLACE_EMPTY,


:flag-de:
füge darüber ein
:flag-en:
add above


//-----------------------
// BLOG MOD START
//-----------------------
   
$sql "SELECT COUNT(users_pb_id) AS blogs
            FROM "
.USERS_PB_TABLE."
            WHERE user_id_pb = "
.$user_row['user_id']." AND user_pb_private = 0";
   
$result $site_db->query_firstrow($sql);
   
$num_blog_1 $result['blogs'];

    
$user_pb_link "<a href=\"".ROOT_PATH."pb.php?action=showpb&id=".$user_row['user_id']."\">".$lang['user_pb_too_pb'].$user_row['user_name']." (".$num_blog_1.")</a>";

    
$site_template->register_vars(array(
    
"user_pb_link" => $user_pb_link
    
));
//-----------------------
// BLOG MOD END
//-----------------------


:flag-de:
finde
:flag-en:
find


    
"lang_new_password_confirm" => $lang['new_password_confirm'],
    
"lang_edit_profile_msg" => $edit_profile_msg,
   

:flag-de:
füge darunter ein
:flag-en:
add after


//-----------------------
// BLOG MOD START
//-----------------------
    
"lang_setting_email_blog" => $lang['setting_email_blog'],
    
"lang_user_pb_allow" => $lang['user_pb_allow'],
//-----------------------
// BLOG MOD END
//-----------------------


7.
:flag-de:
öffne /templates/default/member_editprofile.html
finde
:flag-en:
open /templates/default/member_editprofile.html
find
 
           
<tr
            <
td class="row2"><b>{lang_icq}</b></td>
            <
td class="row2"><input type="text" name="user_icq"  size="30" value="{user_icq}" class="input" /></td>
          </
tr>

:flag-de:
füge darunter ein
:flag-en:
add after

 
         
<!-- BLOG MOD START -->
          <
tr class="row1">
           <
td ><b>{lang_setting_email_blog}</b></td>
           <
td >
           <
input type="radio" name="setting_email_blog" value="1"{setting_email_blog_yes} />
           {
lang_yes}&nbsp;&nbsp;&nbsp;
           <
input type="radio" name="setting_email_blog" value="0"{setting_email_blog_no} />
           {
lang_no}
           </
td>
          </
tr>
          <
tr class="row2">
           <
td ><b>{lang_user_pb_allow}</b></td>
           <
td >
           <
input type="radio" name="user_pb_allow" value="1"{user_pb_allow_yes} />
           {
lang_yes}&nbsp;&nbsp;&nbsp;
           <
input type="radio" name="user_pb_allow" value="0"{user_pb_allow_no} />
           {
lang_no}
           </
td>
          </
tr>
        <!-- 
BLOG MOD END -->


8.
:flag-de:
öffne /templates/default/member_profile.html füge am ende der Datei folgenden Code ein
:flag-en:
open /templates/default/member_profile.html and add these code at the end of the file


         
<!-- BLOG MOD START -->
{if 
user_pb_allow}
<
b>{user_pb_link}</b>
{endif 
user_pb_allow}
         <!-- 
BLOG MOD END -->


9.
:flag-de:
öffne /templates/default/user_logininfo.html
finde
:flag-en:
open /templates/default/user_logininfo.html
find


&raquo; <a href="{url_logout}">{lang_logout}</a><br />


:flag-de:
füge darunter ein (nur eine der beiden Möglichkeiten)
:flag-en:
add after Only one of these possibilities


         
<!-- BLOG MOD START -->
      &
raquo;<a href="{url_own_pb}">{lang_pb_blog} ({num_blogs_total_user}/{num_blogs_total_user_na})</a><br /> 
      &
raquo;<a href="{url_own_pb_overview}">{lang_pb_blog_overview} ({num_blogs_total}{if num_blogs_new}/ <font color="red">{num_blogs_new} <small><sup>{lang_new}</sup></font>{endif num_blogs_new}</small>)</a><br />
      {if 
num_blogs_new}
      &
raquo;<a href="{url_own_pb_overview_new}">{lang_pb_blog_overview_new} <font color="red">({num_blogs_new}) <small><sup>{lang_new}</sup></font></small></a><br />
      {endif 
num_blogs_new}
      <!-- 
BLOG MOD END -->


For Personal Overview in LIST Form, use:

        
<!-- BLOG MOD START -->
        &
raquo;<a href="{url_own_pb_new}">{lang_pb_blog} ({num_blogs_total_user}/{num_blogs_total_user_na})</a><br /> 
        &
raquo;<a href="{url_own_pb_overview}">{lang_pb_blog_overview} ({num_blogs_total}{if num_blogs_new}/ <font color="red">{num_blogs_new} <small><sup>{lang_new}</sup></font>{endif num_blogs_new}</small>)</a><br />
        {if 
num_blogs_new}
        &
raquo;<a href="{url_own_pb_overview_new}">{lang_pb_blog_overview_new} <font color="red">({num_blogs_new}) <small><sup>{lang_new}</sup></font></small></a><br />
        {endif 
num_blogs_new}
        <!-- 
BLOG MOD END -->


10.
:flag-de:
öffne /templates/default/user_loginform.html
finde
:flag-en:
open /templates/default/user_loginform.html
find


&raquo; <a href="{url_register}">{lang_register}</a><br />


:flag-de:
füge darunter ein
:flag-en:
add after


         
<!-- BLOG MOD START -->
&
raquo;<a href="{url_own_pb_overview}">{lang_pb_blog_overview} ({num_blogs_total}{if num_blogs_new}/ <font color="red">{num_blogs_new} <small><sup>{lang_new}</sup></font>{endif num_blogs_new}</small>)</a><br />
{if 
num_blogs_new}
&
raquo;<a href="{url_own_pb_overview_new}">{lang_pb_blog_overview_new} <font color="red">({num_blogs_new}) <small><sup>{lang_new}</sup></font></small></a><br />
{endif 
num_blogs_new}
         <!-- 
BLOG MOD END -->


11
:flag-de:
Ab hier wierder für alle
öffne /admin/settings.php
finde
:flag-en:
Now for all again
open admin/settings.php
find


show_form_footer
($lang['save_changes'], ""2);


:flag-de:
füge davor ein
:flag-en:
insert above


  show_table_separator
($setting_group[xx], 2"setting_group_xx");
  
show_setting_row("mod_blog_update_check""radio");
  
show_setting_row("mod_blog_activate""radio");
  
show_setting_row("mod_blog_cat_table_width");
  
show_setting_row("mod_blog_cat_cells");
  
show_setting_row("mod_blog_tiny""radio");


xx is your settings group.

12
:flag-de:
öffne /lang/your language/admin.php
finde ?>
:flag-en:
open /lang/your language/admin.php
find ?>

:flag-de:
füge davor ein
:flag-en:
insert above

/*-- Setting-Group xx --*/
$setting_group[xx]="BLOG";
$setting['mod_blog_update_check'] = "UPDATE CHECk aktivieren? <br>Sofern dieser Fehler auftritt:<br><font color=\"red\">URL file-access is disabled in the server configuration</font> <br>musst du den Updatecheck deaktivieren";
$setting['mod_blog_activate'] = "BLOG aktivieren?";
$setting['mod_blog_cat_table_width'] = "Tabellenbreite. fixed(650) oder variable(100%)";
$setting['mod_blog_cat_cells'] = "Anzahl der Zellen. Default 3";
$setting['mod_blog_tiny'] = "Tiny aktivieren?";


for english version

/*-- Setting-Group xx --*/
$setting_group[xx]="BLOG";
$setting['mod_blog_update_check'] = "activate UPDATE CHECk? <br>If these Error occure:<br><font color=\"red\">URL file-access is disabled in the server configuration</font> <br>you have to disable update check";
$setting['mod_blog_activate'] = "activate BLOG System?";
$setting['mod_blog_cat_table_width'] = "Table width. fixed (650)default oder variable(100%)";
$setting['mod_blog_cat_cells'] = "Number of Cells. Default 3";
$setting['mod_blog_tiny'] = "Tiny aktivieren?";



13
:flag-de:
Nun führe noch den Installer für die Datenbank aus! Löschen nicht vergessen......
DeineUrl/BOG_MOD_INSTALL.php
:flag-en:
Now execute the Installer, do not forget to delete the file after executing
YourUrl/BOG_MOD_INSTALL.php


:flag-de:
Sobald die Installaton abgeschlossen ist, gehe in dein Kontrollcenter und aktiviere die BLOG's. Standardmässig sind die BLOG's für alle Benutzer deaktiviert. Jeder Benutzer muss für sich entscheiden, ob er die BLOG Funktion aktivieren möchte.
Erstelle nun eine Kategorie und du wirst dann deinen ersten BLOG erstellen können.

Ich hoffe ich habe alles. Viel Spass beim Bloggen.......

Erweiterungen sind immer Willkommen. Fehlermeldungen bitte hier im Forum posten! Ich werde versuchen, so schnell wie möglich Lösungen für Dein Problem zu finden.

:flag-en:
Once the Installaton is complete, go into your Control Center and activate the BLOG's. By default, the BLOG's disabled for all users. Each user must decide for himself whether he wants the BLOG feature.
Create now a category and your first BLOG can be created.

I hope I did everything. Have fun blogging .......

Extensions are always welcome. please Post Error messages in the forum! I will try to find as quick as possible a solutions for your problem.

Gruß
Ingo
« Last Edit: November 06, 2011, 02:20:46 PM by Rembrandt »

Offline Sunny C.

  • Addicted member
  • ******
  • Posts: 1.805
  • I ♥ 4I
    • View Profile
Re: MOD PhotoBlog
« Reply #1 on: June 03, 2009, 11:41:12 PM »
Klasse Mod, kann ich nur da sagen!
Vielleicht sieht man ja mehr Mods von dir ;)
Oder frischst mal alte Mods generell hier aus dem Forum auf :D

Weiter so!
Danke!

Offline 4ella

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
    • http://www.dancersrecruit.com/pictures/
Re: MOD PhotoBlog
« Reply #2 on: June 04, 2009, 12:08:16 AM »
It looks really super , tomorrow will try to install it on 1.7.6 , very nice job Rinaldo . I like that you've used as much as possible new files so only a few original 4Images files are affected , very nice idea and it had to be a lot of work for your little Wordpress , Daniel

Quote
@English - main.php.  Sorry for my bad translation, maybe someone has a better one  :)

Wanted to help a little bit,  so I controlled the file translations , I can't help with programming at all, but at least I tried to help you to correct some very small translation errors , maybe would be helpful too.
Code: [Select]
REMOVED TO DO NOT CONFUSE THE MEMBERS

so now maybe corrected main.php (without BBCode , tomorrow will try to help you to translate the rest of BBCode):

Code: [Select]
REMOVED TOO - presented in the first Rinaldo's post now
I'm not sure about German translations because my German is not best but English would be correct
« Last Edit: June 04, 2009, 10:02:46 AM by 4ella »

http://www.dancersrecruit.com/pictures/
4IMAGES 1.7.6 version/default theme
Apache version   2.2.11 (Unix)
PHP version   5.2.9
MySQL version   5.0.75-community-log
Architecture   x86_64
Operating system   Linux

rinaldos

  • Guest
Re: MOD PhotoBlog
« Reply #3 on: June 04, 2009, 08:07:06 AM »
@4ella,
thanks for your Help, I added your translation (second quote) into the first post. Be Carefull in your Post (first quote) there are some errors in the Code, don't use this in main.php.

$lang['user_pb_new_to'] = "Zum Eintrag"; = $lang['user_pb_new_to'] = "To the Entry";    or To the Record?
I Think Record sounds better

Anstelle der xxx muss die Image_ID stehen  -  xxx settings must be the same like image_ID  ?
xxx is the Image_ID, not settings. This is a hint from BBCODE.
"im" => "Image: [image_blog=xxx] xxx must be the same like Image_ID. [image_blog=$image_id]",

Sounds better ....

Thanks for the hint :-)

Offline 4ella

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
    • http://www.dancersrecruit.com/pictures/
Re: MOD PhotoBlog
« Reply #4 on: June 04, 2009, 09:57:21 AM »
@You are welcome Rinaldo , but for sure there is many native english speaking members so they would help better .

b.t.w - first quote was only showing the affected codes , so I will eliminate that now to NOT confuse other members with too many codes , and because you have replaced also second quote - main.php ,  I think that would be better to eliminate that too , many times I'm confused with many codes which are presented several times , most important has to be the first post ,  I don't know if I can , if NOT , administrators pls. let me know and I will put it back.

http://www.dancersrecruit.com/pictures/
4IMAGES 1.7.6 version/default theme
Apache version   2.2.11 (Unix)
PHP version   5.2.9
MySQL version   5.0.75-community-log
Architecture   x86_64
Operating system   Linux

rinaldos

  • Guest
Re: MOD PhotoBlog
« Reply #5 on: June 04, 2009, 10:05:41 AM »
Codeupdate 04.06.2009 in lang files an pb.php.
- Added one line each language.
- Fixed an error upon delete a BLOG.

If you installed Version 1.0.0 (first release) than you have to add this in
/lang/german/main.php

$lang
['users_pb_category_exist'] = "Es existieren noch BLOGs in dieser Kategorie. L&ouml;sche erst die BLOGs, bevor diese Kategorie gel&ouml;scht werden kann";

/lang/english/main.php

$lang
['users_pb_category_exist'] = "There are some BLOGs in this Category. Please delete these BLOGs, after that, you can delete the Category.";

Install new pb.php from the ZIP-File.
Now everything works like a charme :-)


Gruß
Ingo



« Last Edit: June 04, 2009, 10:41:47 AM by rinaldos »

Offline 4ella

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
    • http://www.dancersrecruit.com/pictures/
Re: MOD PhotoBlog
« Reply #6 on: June 06, 2009, 01:34:39 AM »
Have installed , this Mod is great it's like an another website , really very nice , for me very , very useful, worked immediately without any problem , 10minutes installation and web upgraded and more functional for more than  50%,  thanks a lot Rinaldo , made a donation , put also your little website logo with link at the bottom of the PhotoBlog, you deserve it .

Recommend change for English  :
Added successful (I don't know where it is ...)      for   New Category added successfully
Entry was succesful !!!  for   Category creation was successful !!!
and where can i change NEUER EINTRAG button? , it is in German , it would be better in English too
I don't see a avatar or member picture in comments , but I will find the error , it would be a my mistake , will report the bugs, but till now I don't see nothing , everything works perfect in 1.7.6


For those who wants to see the PhotoBlog in black go here : http://www.dancersrecruit.com/pictures/pb.php?action=categories


http://www.dancersrecruit.com/pictures/
4IMAGES 1.7.6 version/default theme
Apache version   2.2.11 (Unix)
PHP version   5.2.9
MySQL version   5.0.75-community-log
Architecture   x86_64
Operating system   Linux

Offline 4ella

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
    • http://www.dancersrecruit.com/pictures/
Re: MOD PhotoBlog
« Reply #7 on: June 07, 2009, 04:43:54 PM »
Rinaldo really excellent Mod you have created , I don't sleep anymore , working all the day to put the info there , Blog works excellent , have some suggestions and found some little bugs like :

1. When you edit blog , you always miss the category you have set before , it doesnt keep the category info - its not nice always to do not forget to set up the category again.

2.When you put attachment , it doesnt show nothing (doesnt work)- when you want eliminate attachment there's no function for elimination at all , so you have to eliminate all the blog

I have also one suggestion :
Would be great to add [category_blog=xxx] which would lead you to the category about which are you in your blog talking about . I think that it would be also appreciated with other users
For me is this Mod one of the best Addon in the  4Images so far (of course for my specific website - for others should be useless) and I think that has great future because there is a lot of things to add - 4 Images with this Mod can grow up .
Daniel

http://www.dancersrecruit.com/pictures/pb.php?action=categories

http://www.dancersrecruit.com/pictures/
4IMAGES 1.7.6 version/default theme
Apache version   2.2.11 (Unix)
PHP version   5.2.9
MySQL version   5.0.75-community-log
Architecture   x86_64
Operating system   Linux

rinaldos

  • Guest
Re: MOD PhotoBlog
« Reply #8 on: June 07, 2009, 05:22:58 PM »
@4ella,
give me a little time to implement it, and to fix small errors with the up/download function :-)

your POINT2, did you creat the folder /data/media-blog/ (Step 1)?

Greets
Ingo
« Last Edit: June 07, 2009, 05:37:36 PM by rinaldos »

Offline 4ella

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
    • http://www.dancersrecruit.com/pictures/
Re: MOD PhotoBlog
« Reply #9 on: June 07, 2009, 06:36:22 PM »
No I didn't  :D , I'm so stupid , forget Point2 -:)

http://www.dancersrecruit.com/pictures/
4IMAGES 1.7.6 version/default theme
Apache version   2.2.11 (Unix)
PHP version   5.2.9
MySQL version   5.0.75-community-log
Architecture   x86_64
Operating system   Linux

Offline 4ella

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
    • http://www.dancersrecruit.com/pictures/
Re: MOD PhotoBlog
« Reply #10 on: June 11, 2009, 12:43:57 AM »
Rinaldo I have put new files from the thread above and I get this :

Fatal error: Call to undefined function url_exists_blog() in /home2/dancersr/public_html/pictures/pb.php on line 1941

I knew that i had to wait for you  :D


Forget it , It works perfect - I forgot to put also functions_pb.php from includes  , its 1:00hr . in the morning as usual , you have to understand-:) i go sleep now , it works very nice .
Hope that somebody will install it too and create rating mod  and some other wordpress plugins to this beautiful Blog.

To convince you to try it , feel free to use my blog like a DEMO for testing purposes , I will delete that after .

Feel free to registrate or use this login info:
Username: 4images   password:test
DEMO:
http://www.dancersrecruit.com/pictures/pb.php
 
Rinaldo Do you  think that it would be difficult to implement category thumbnail for [cat_blog=xxx] ? The part of the Blog should be related to the category and thumbnail should represent the category I.D. (of course in case that somebody has installed unique category icon Mod - i have it ,it would be very nice connection with gallery. The best to use dropdown menu to find the category .
« Last Edit: June 11, 2009, 01:34:16 AM by 4ella »

http://www.dancersrecruit.com/pictures/
4IMAGES 1.7.6 version/default theme
Apache version   2.2.11 (Unix)
PHP version   5.2.9
MySQL version   5.0.75-community-log
Architecture   x86_64
Operating system   Linux

rinaldos

  • Guest
Re: MOD PhotoBlog
« Reply #11 on: June 11, 2009, 10:31:17 AM »
you did not update functions_pb.php

But I saw, you fixed it already ....


Gruß

Ingo

Offline 4ella

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
    • http://www.dancersrecruit.com/pictures/
Re: MOD PhotoBlog
« Reply #12 on: June 13, 2009, 08:52:00 PM »
@Rinaldo thanks a lot !!!!!

Very good idea to add the name of the category into the head of the blog , works perfect latest v.1.0.6 , very good job again

How can i fix the width of the categories cells ? in firefox is each one different and in IE8 it is much more smaller , it doesnt looks good , where to put something like cells - 33% , 33% , 33% .
« Last Edit: June 13, 2009, 10:36:51 PM by 4ella »

http://www.dancersrecruit.com/pictures/
4IMAGES 1.7.6 version/default theme
Apache version   2.2.11 (Unix)
PHP version   5.2.9
MySQL version   5.0.75-community-log
Architecture   x86_64
Operating system   Linux

rinaldos

  • Guest
Re: MOD PhotoBlog
« Reply #13 on: June 14, 2009, 02:07:53 AM »
In pb.php you found at line 85 the changes. Maybe you select percent, or you will select fixed width. maybe it works better in IE with fixed width.
read in Folder Document the update description. But now must release shortly 1.0.7. Fixed an security issue..... And at least added one more feature. Now you see, how much blogs are new.

Update Instructions to 1.0.7
copy the following files to your 4Images System


/ph.php
/includes/functions_pb.php
/includes/page_header_pb.php
/templates/default/user_pb_categories_bit.html
/templates/default_960px/user_pb_categories_bit.html

Fixed BUTTONS for IE6+
Fixed Security leak! No more Info's for security reasons ......
added "new" Tag for BLOGS and Categories

in user logininfo and user_logininform change to this

&raquo;<a href="{url_own_pb_overview}">{lang_pb_blog_overview} ({num_blogs_total}{if num_blogs_new}/ <font color="red">{num_blogs_new} <small><sup>{lang_new}</sup></font>{endif num_blogs_new}</small>)</a><br />


Gruß
Ingo

Offline 4ella

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
    • http://www.dancersrecruit.com/pictures/
Re: MOD PhotoBlog
« Reply #14 on: June 14, 2009, 08:44:14 AM »
No more bugs , no more questions , very nice idea to put new blogs in red - works perfect -:) thanks a lot

http://www.dancersrecruit.com/pictures/
4IMAGES 1.7.6 version/default theme
Apache version   2.2.11 (Unix)
PHP version   5.2.9
MySQL version   5.0.75-community-log
Architecture   x86_64
Operating system   Linux