Poll

Is is possible and useful?

Yes
10 (83.3%)
No
2 (16.7%)

Total Members Voted: 12

Voting closed: March 22, 2003, 09:28:27 AM

Author Topic: .  (Read 60089 times)

0 Members and 1 Guest are viewing this topic.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
a question 2 v@no
« Reply #15 on: March 24, 2003, 01:25:55 PM »
Quote from: PuCK
My pages go blank when I do this. Really strange...

no, nothing strange...I didnt post all the code ;)
follow the replays.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline PuCK

  • Newbie
  • *
  • Posts: 25
    • View Profile
    • http://www.acidarts.net
a question 2 v@no
« Reply #16 on: March 24, 2003, 01:35:14 PM »
Quote from: V@no
Quote from: PuCK
My pages go blank when I do this. Really strange...

no, nothing strange...I didnt post all the code ;)
follow the replays.


I did! I replaced: function format_text (after that, when I go to my site, everything is blank. Uploaded the package. Put the file's in the right place. Pun in the smillies code in functions.php. Changed details.php. It still gives me a complete white page.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
a question 2 v@no
« Reply #17 on: March 24, 2003, 01:38:18 PM »
ok, sorry guys, dont have time right now.
If u replaced my original smiles code with the code above, it should work, unless u can tell me what is the error message.

I'll be back in 10 hours, be patient ;)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Xwall

  • Full Member
  • ***
  • Posts: 100
    • View Profile
    • http://www.xwall.tk
a question 2 v@no
« Reply #18 on: March 24, 2003, 01:39:08 PM »
yes, thank you very much  :wink:

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
a question 2 v@no
« Reply #19 on: March 24, 2003, 01:39:47 PM »
Quote from: Xwall
yes, thank you very much  :wink:

atleast one got it to work ;)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Maweryk

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
a question 2 v@no
« Reply #20 on: March 24, 2003, 01:41:13 PM »
@v@no: GREAT JOB! Everything works fine!

Thank U very much!

Cheers,

MArkus

Offline Maweryk

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
a question 2 v@no
« Reply #21 on: March 24, 2003, 01:55:42 PM »
@PuCK: Try to delete your temp internet files.

Offline PuCK

  • Newbie
  • *
  • Posts: 25
    • View Profile
    • http://www.acidarts.net
a question 2 v@no
« Reply #22 on: March 24, 2003, 02:02:14 PM »
Quote from: Maweryk
@PuCK: Try to delete your temp internet files.


I got it working! A bit of a stupid mistake, I didn't do the smillie mod :oops: But I just did en after that this one worked.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
a question 2 v@no
« Reply #23 on: March 30, 2003, 12:15:24 AM »
Quote from: Cr@zy Sash
i add the parts of your code what i need and it work fine. But one last question 2 this: on every Comment on your site there is a link called Quote. What do I have 2 edit the thelink is shown there?

the problem is that I didnt track of how I did it...so, I'm not sure for sure witch files I edited without detailed look in the code :?
anyway, lets hope, thats details.php is the only file I edited...

in /details.php find:
Code: [Select]
       "admin_links" => $admin_links
Replace with:
Code: [Select]
       "admin_links" => $admin_links,
        "comment_quote" => "<a href=\"".$site_sess->url($self_url."&quote=".$comment_row[$i]['comment_id'])."#commentform\">[Quote]</a>&nbsp;"


then, find:
Code: [Select]
 if (!$allow_posting) {
    $comment_form = "";
  }
  else {
    $user_name = (isset($HTTP_POST_VARS['user_name']) && $error) ? stripslashes(htmlspecialchars(trim($HTTP_POST_VARS['user_name']))) : (($user_info['user_level'] != GUEST) ? htmlspecialchars($user_info['user_name']) : "");
    $comment_headline = (isset($HTTP_POST_VARS['comment_headline']) && $error) ? stripslashes(htmlspecialchars(trim($HTTP_POST_VARS['comment_headline']))) : "";
    $comment_text = (isset($HTTP_POST_VARS['comment_text']) && $error) ? stripslashes(htmlspecialchars(trim($HTTP_POST_VARS['comment_text']))) : "";

    $site_template->register_vars(array(
      "bbcode" => $bbcode,
      "user_name" => $user_name,
      "comment_headline" => $comment_headline,
      "comment_text" => $comment_text,
      "lang_post_comment" => $lang['post_comment'],
      "lang_name" => $lang['name'],
      "lang_headline" => $lang['headline'],
      "lang_comment" => $lang['comment']
    ));
    $comment_form = $site_template->parse_template("comment_form");
  }
  $site_template->register_vars("comment_form", $comment_form);
  unset($comment_form);
} // end if allow_comments

Replace with:
Code: [Select]
 if (!$allow_posting) {
    $comment_form = "";
  }
  else {
$comment_quote_id = (isset($HTTP_GET_VARS['quote'])) ? $HTTP_GET_VARS['quote'] : $HTTP_POST_VARS['quote'];
if (intval($comment_quote_id)) {
  $sql = "SELECT c.comment_id, c.user_id, c.user_name AS comment_user_name, c.comment_headline, c.comment_text
          FROM ".COMMENTS_TABLE." c
          LEFT JOIN ".USERS_TABLE." u ON (".get_user_table_field("u.", "user_id")." = c.user_id)
          WHERE c.comment_id = $comment_quote_id";
  $result = $site_db->query_firstrow($sql);
    $comment_text = (isset($HTTP_POST_VARS['comment_text']) && $error) ? stripslashes(trim($HTTP_POST_VARS['comment_text'])) : "";
$comment_headline = (isset($HTTP_POST_VARS['comment_headline']) && $error) ? stripslashes(trim($HTTP_POST_VARS['comment_headline'])) : "";
if ($result['comment_text']) {
$comment_text .= "[quote=".$result['comment_user_name']."]".$result['comment_text']."[/quote]";
}
if ($result['comment_headline']) {
$comment_headline .= "RE: ".$result['comment_headline'];
}
}
    $user_name = (isset($HTTP_POST_VARS['user_name']) && $error) ? stripslashes(htmlspecialchars(trim($HTTP_POST_VARS['user_name']))) : (($user_info['user_level'] != GUEST) ? htmlspecialchars($user_info['user_name']) : "");
//    $comment_headline = (isset($HTTP_POST_VARS['comment_headline']) && $error) ? stripslashes(htmlspecialchars(trim($HTTP_POST_VARS['comment_headline']))) : "";

    $site_template->register_vars(array(
      "bbcode" => $bbcode,
      "user_name" => $user_name,
      "comment_headline" => $comment_headline,
      "comment_text" => $comment_text,
      "lang_post_comment" => $lang['post_comment'],
      "lang_name" => $lang['name'],
      "lang_headline" => $lang['headline'],
      "lang_comment" => $lang['comment']
    ));
    $comment_form = $site_template->parse_template("comment_form");
  }
  $site_template->register_vars("comment_form", $comment_form);
  unset($comment_form);
} // end if allow_comments


then, add in /templates/<yourtemplate>/comment_bit.html this:
{comment_quote}
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline jackie911

  • Newbie
  • *
  • Posts: 41
    • View Profile
a question 2 v@no
« Reply #24 on: May 04, 2003, 07:29:03 AM »
I had some errors.

Code: [Select]
Fatal error: Call to undefined function: get_smiles_text() in /ha/jackie/public_html/barndisco.com/album/details.php on line 438

Jackie
jackie911@so-net.com.hk

Quote from: V@no
Quote from: Xwall
I have a problem i can´t show the emoticons.  :(

My functions.php

wait i put the adress[/code]

ah, ok...I think I edited more files then I though... 8O
find in detail.php
Code: [Select]
     "lang_bbcode" => $lang['bbcode'],
add after:
Code: [Select]
     "smiles_text" => get_smiles_text(),

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
a question 2 v@no
« Reply #25 on: May 04, 2003, 12:29:41 PM »
Quote from: jackie911
I had some errors.

did u follow the replys?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Gabi

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://www.gabis-traum.de
Very great Mod
« Reply #26 on: May 06, 2003, 11:48:06 AM »
Quote from: V@no
Quote from: Xwall
I have a problem i can´t show the emoticons.  :(

My functions.php

wait i put the adress[/code]

ah, ok...I think I edited more files then I though... 8O
find in detail.php
Code: [Select]
     "lang_bbcode" => $lang['bbcode'],
add after:
Code: [Select]
     "smiles_text" => get_smiles_text(),


Hy V@no,

i use your Mod too, it is very great. Thank´s for it.
In phpbb are 2 funktions more "prevew" comment and in my version the fully moded version of phpbb is a buddy funktion too.
My question to you: :oops:
Is there an chance to include that 2 funktions too ??? I think it whould by very great to use that too.

Gabi

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Very great Mod
« Reply #27 on: May 06, 2003, 11:54:02 AM »
Quote from: Gabi
i use your Mod too, it is very great. Thank´s for it.
In phpbb are 2 funktions more "prevew" comment and in my version the fully moded version of phpbb is a buddy funktion too.
My question to you: :oops:
Is there an chance to include that 2 funktions too ??? I think it whould by very great to use that too.

I'm sorry, I dont "do" board integrations, I dont have an answer for this.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Gabi

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://www.gabis-traum.de
Re: Very great Mod
« Reply #28 on: May 06, 2003, 12:36:25 PM »
Quote from: V@no
Quote from: Gabi
i use your Mod too, it is very great. Thank´s for it.
In phpbb are 2 funktions more "prevew" comment and in my version the fully moded version of phpbb is a buddy funktion too.
My question to you: :oops:
Is there an chance to include that 2 funktions too ??? I think it whould by very great to use that too.

I'm sorry, I dont "do" board integrations, I dont have an answer for this.


Hy V@no,

the integration of phpbb is not twhat i mean  :D that works without problem on my page.

I mean bb code in 4 images.(for coment)  I want to use there "prefew" and "buddy funktion"

lg
GABI

Offline Gabi

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://www.gabis-traum.de
a question 2 v@no
« Reply #29 on: May 06, 2003, 01:40:13 PM »
Quote from: Cr@zy Sash
was meinst du denn

ah no english... or are u speaking german as well? Well what do u mean with buddy function?


lol stimmt mein englisch ist ne Katastrofe... :oops:

Als was ich meinte ist ich habe in meine 4images Gallerie den geänderten bb code eingebaut der hier beschrieben ist. Funtz auch super....
Hier im Forum z.b. giebt es doch noch die "Vorschaufunktion" wenn ich einen Kommentar schreibe....das ist das eine was ich gere einfügen würed.
Das andere ist innerhalb des Forums habe ich noch die Möglichkeit jeden der einen Kommentar geschrieben hat als "Buddy" zu makieren.....Ist n bissel schwierig zu erklären...
Schaue dir einfach mal mein Forum an http://www.foto-place.de denn ich verwende auch keine Standartversion von phpbb. (müsstest dich halt registrieren)

lg
Gabi