Author Topic: [addon] DREAMBOARD V 2.1  (Read 520086 times)

0 Members and 1 Guest are viewing this topic.

Offline Darkness2001

  • Full Member
  • ***
  • Posts: 151
    • View Profile
    • photo-galerie-online
Re: [addon] DREAMBOARD V 2.1
« Reply #90 on: December 07, 2005, 10:13:54 AM »
Einfach cooles Board! Nach ein Paar änderungen funktionierte es auch wunderbar in deutsch!
Ein Problemchen habe ich aber noch...

Nach dem ein Beitrag gepostet wird, soll der User ja auf seinen 'alten' Thread zurück kommen...
Bekomme nur das Fenster mit der Meldung:

Du wirst zu Deiner Nachricht weitergeleitet.

Danach passiert nix :-(

Hallo habe geau diese Problem auch....

Hello I have the secound problem.

When user write the text for comments and klick submit then open the massage in a new windows.
And the prolem is: The page dosent reload back ?

I habe 4images 1.7.1 and the Version Dreamboard v 1.0

My download is from the dreamboard site Vers. 2.1

Help me please Greez Darkness  :mrgreen:

(My englisch verry bad  :oops:)

Offline Stoleti

  • Hero Member
  • *****
  • Posts: 574
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #91 on: December 16, 2005, 12:47:40 AM »
Einfach cooles Board! Nach ein Paar änderungen funktionierte es auch wunderbar in deutsch!
Ein Problemchen habe ich aber noch...

Nach dem ein Beitrag gepostet wird, soll der User ja auf seinen 'alten' Thread zurück kommen...
Bekomme nur das Fenster mit der Meldung:

Du wirst zu Deiner Nachricht weitergeleitet.

Danach passiert nix :-(

Hallo habe geau diese Problem auch....

Hello I have the secound problem.

When user write the text for comments and klick submit then open the massage in a new windows.
And the prolem is: The page dosent reload back ?

I habe 4images 1.7.1 and the Version Dreamboard v 1.0

My download is from the dreamboard site Vers. 2.1

Help me please Greez Darkness  :mrgreen:

(My englisch verry bad  :oops:)


you mean redirect to post ?? if its that you must added on board.html a {redirect} tag before {board}  :roll:


------------

How make the bbcode smileys MOD work on board (http://www.4homepages.de/forum/index.php?topic=6646.0) ???

any ideia ?  :?:

Offline Darkness2001

  • Full Member
  • ***
  • Posts: 151
    • View Profile
    • photo-galerie-online
Re: [addon] DREAMBOARD V 2.1
« Reply #92 on: December 18, 2005, 10:58:00 PM »
Hello,

thanks it works  :mrgreen: :mrgreen:

Greez Darkness  :mrgreen:

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #93 on: December 25, 2005, 10:20:08 PM »
A weakness was discovered when I added this for a user when he requested the userpic MOD to be intergrated.

Find :

Quote

$user_profile_link = (!empty($url_show_profile)) ? preg_replace("/{user_id}/", $user['user_id'], $url_show_profile) : ROOT_PATH."member.php?action=showprofile&".URL_USER_ID."=".$user['user_id'];


replace with :

Code: [Select]

$user_profile_link = (!empty($url_show_profile)) ? str_replace("{user_id}", $user['user_id'], $url_show_profile) : $site_sess->url(ROOT_PATH."member.php?action=showprofile&".URL_USER_ID."=".$user['user_id']);


My apologize on this one and Merry Christmas to you all. ;)

Offline Olphi

  • Full Member
  • ***
  • Posts: 101
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #94 on: December 26, 2005, 06:35:29 PM »
Hello @ all

My problem is: If I change the settings in the forum manager, so that only members see the topic, the categorie can be seen again.... :?: :?: :?:
My guest are not allowed to view certain categories! How can I improve this board?

Thanks


PS: There's another bug: When the admin post, the time is always the same ("Wed, 13 Mar 2002")....

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #95 on: December 26, 2005, 08:53:49 PM »
Quote

PS: There's another bug: When the admin post, the time is always the same ("Wed, 13 Mar 2002")....


I don't think this MOD uses the format_date function from includes/functions.php file. Does this happends on other MODs or only with this one ?

Offline Olphi

  • Full Member
  • ***
  • Posts: 101
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #96 on: December 26, 2005, 09:03:17 PM »
Quote

PS: There's another bug: When the admin post, the time is always the same ("Wed, 13 Mar 2002")....


I don't think this MOD uses the format_date function from includes/functions.php file. Does this happends on other MODs or only with this one ?

Only with this one....

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #97 on: December 26, 2005, 09:13:33 PM »
In that case, could you specify - on which - page it happends ? Like - when the admin posts, could you post the filename with the query it actually shows on your URL Bar ? (No need to post whole URL).

Offline Olphi

  • Full Member
  • ***
  • Posts: 101
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #98 on: December 26, 2005, 09:23:57 PM »
In that case, could you specify - on which - page it happends ? Like - when the admin posts, could you post the filename with the query it actually shows on your URL Bar ? (No need to post whole URL).

Take a look on Mantra's site: e.g. http://www.mantradream.com/dreamskin/showthread.php?bid=6&threadid=30    always the same time: "Registered : Wed Mar 13, 2002 "

I have the same trouble... (I think the dreamboard need's a lot of help ...   :mrgreen:)

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #99 on: December 26, 2005, 09:53:48 PM »
And ... that's not all it would seems. Looks like "Guest" is showing below each registered names.  :mrgreen:

Also, stripslashes has not been used from their replies.  :mrgreen:

Offline Olphi

  • Full Member
  • ***
  • Posts: 101
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #100 on: December 26, 2005, 09:58:02 PM »
And ... that's not all it would seems. Looks like "Guest" is showing below each registered names.  :mrgreen:

Also, stripslashes has not been used from their replies.  :mrgreen:

Hehe....  You see, there are a lot of problems! Don't know if mantra knows this, but my php knowledge is to bad for repairing all bugs  :?

Hope someone can help me... :?:

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #101 on: December 26, 2005, 09:58:47 PM »
Ok, from your boardreply.php file,

find :

Quote

$reply= (isset($HTTP_POST_VARS['message_form'])) ? un_htmlspecialchars(trim($HTTP_POST_VARS['message_form'])) : "";


replace with :

Quote

$reply= (isset($HTTP_POST_VARS['message_form'])) ? un_htmlspecialchars(stripslashes(trim($HTTP_POST_VARS['message_form']))) : "";


This should eliminate the slashes from replies.

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #102 on: December 26, 2005, 10:04:23 PM »
In the mean time,

from your boardthread.php file,

find :

Quote

$subject = (isset($HTTP_POST_VARS['subject_form'])) ? un_htmlspecialchars(trim($HTTP_POST_VARS['subject_form'])) : "";
$message = (isset($HTTP_POST_VARS['message_form'])) ? un_htmlspecialchars(trim($HTTP_POST_VARS['message_form'])) : "";
$topictype = (isset($HTTP_POST_VARS['topictype'])) ? un_htmlspecialchars(trim($HTTP_POST_VARS['topictype'])) : "";


replace with :

Quote

$subject = (isset($HTTP_POST_VARS['subject_form'])) ? un_htmlspecialchars(stripslashes(trim($HTTP_POST_VARS['subject_form']))) : "";
$message = (isset($HTTP_POST_VARS['message_form'])) ? un_htmlspecialchars(stripslashes(trim($HTTP_POST_VARS['message_form']))) : "";
$topictype = (isset($HTTP_POST_VARS['topictype'])) ? un_htmlspecialchars(stripslashes(trim($HTTP_POST_VARS['topictype']))) : "";


Then, find :

Quote

"massage" => htmlspecialchars(stripslashes($massage)),


change to :

Quote

"message" => htmlspecialchars(stripslashes($message)),


Then, in your template, change {massage} to : {message}

As for the date, I'm still digging into that.

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #103 on: December 26, 2005, 10:21:46 PM »
Ok, for the date, here's the problem :

Quote

$dbdate = time();


and

Quote

$thrdate =  format_date($boardconfig['date_format']." ".$boardconfig['time_format'], $thrdate);


Switch for first quote

to :

Quote

$dbdate = time("H:i:s");


and switch the 2nd quote

to :

Quote

$thrdate = format_date($config['date_format']." ".$config['time_format'], $thrdate);


from your boardmod.php and boardreply.php file.

Offline Olphi

  • Full Member
  • ***
  • Posts: 101
    • View Profile
Re: [addon] DREAMBOARD V 2.1
« Reply #104 on: December 26, 2005, 10:28:35 PM »
In the mean time,

from your boardthread.php file,

Then, find :

Quote

"massage" => htmlspecialchars(stripslashes($massage)),


change to :

Quote

"message" => htmlspecialchars(stripslashes($message)),


Then, in your template, change {massage} to : {message}

As for the date, I'm still digging into that.

Sorry, for that stupid question, but I can't find the template with {massage}  :!: