• [MOD] Shoutbox 4 0 5 1
Currently:  

Author Topic: [MOD] Shoutbox  (Read 309116 times)

0 Members and 1 Guest are viewing this topic.

Offline Stoleti

  • Hero Member
  • *****
  • Posts: 574
    • View Profile
Re: [MOD] Shoutbox
« Reply #75 on: September 01, 2006, 07:31:56 PM »
OK so I got this message left on my shoutbox:
 
Code: [Select]
googlebot:  
I am GoogleBot.

I like bots.  

LOL.

Also, still can't delete/edit comments...any ideas?

At ACP > Shoutbox Admin

;)

Offline lemccoy

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
    • DrunkIsland
Re: [MOD] Shoutbox
« Reply #76 on: September 01, 2006, 10:29:46 PM »
nope, nothing.

Offline maninblue

  • Newbie
  • *
  • Posts: 10
    • View Profile
    • GulceNet
Re: [MOD] Shoutbox
« Reply #77 on: September 10, 2006, 10:49:16 AM »
also i couldnt delete shouts.. pressing delete but no action
Roses:) I really like

http://www.gulce.net  (Sorry just in Turkish for now)

Offline Forty

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: [MOD] Shoutbox
« Reply #78 on: September 15, 2006, 04:30:02 PM »
download link not working!

Offline Stoleti

  • Hero Member
  • *****
  • Posts: 574
    • View Profile
Re: [MOD] Shoutbox
« Reply #79 on: September 15, 2006, 04:54:38 PM »

Offline Jan-Lukas

  • Addicted member
  • ******
  • Posts: 1.289
    • View Profile
    • Discover the New World of Kindersurprise
Re: [MOD] Shoutbox
« Reply #80 on: November 18, 2006, 08:01:23 PM »
Hallo ihr,
Wie bekomme ich denn in den Einträgen das Erstellungsdatum+ Uhrzeit rein (wie im Admin)
Habe schon gesucht, ob das schon besprochen wurde, konnte aber dazu nichts finden.

lieben gruss Harald
Danke Harald




Offline martrix

  • Hero Member
  • *****
  • Posts: 755
    • View Profile
    • overlord.cz
Re: [MOD] Shoutbox
« Reply #81 on: November 24, 2006, 06:51:48 PM »
Also, still can't delete/edit comments...any ideas?

You don't need to delete the comments in the ACP, just change this lines in shout_editor.php

find:
Code: [Select]
if ($action == "delete") {
  $url_delete = $site_sess->url(ROOT_PATH."shout_editor.php?action=deleteyes&shout_id=".$shout_id);
change to
Code: [Select]
if ($action == "delete") {
  $url_sh_delete = $site_sess->url(ROOT_PATH."shout_editor.php?action=deleteyes&shout_id=".$shout_id);
And after the popup-window opens, just confirm deleting by clicking the "Delete shout?" button...

I did also a small change to the edit/delete links - you can make it look a bit better by using images instead of the text-links...

open shout.php
find:
Code: [Select]
  $admin_shout = "<a href=\"".$site_sess->url(ROOT_PATH."shout_editor.php?action=edit&shout_id=".$shouts[$i]['id'])."\" target=\"_blank\" onClick=\"return popup(this,'edit_shout')\">".$lang['edit']."</a><a href=\"".$site_sess->url(ROOT_PATH."shout_editor.php?action=delete&shout_id=".$shouts[$i]['id'])."\" target=\"_blank\" onClick=\"return popup(this,'delete_shout')\">".$lang['delete']."</a>";
change to:

Code: [Select]
  $admin_shout = "<a href=\"".$site_sess->url(ROOT_PATH."shout_editor.php?action=edit&shout_id=".$shouts[$i]['id'])."\" target=\"_blank\" onClick=\"return popup(this,'edit_shout')\"><IMG SRC=\"".$site_sess->url(TEMPLATE_DIR."/default/images/edit.gif")."\" border=\"0\"></a>&nbsp;<a href=\"".$site_sess->url(ROOT_PATH."shout_editor.php?action=delete&shout_id=".$shouts[$i]['id'])."\" target=\"_blank\" onClick=\"return popup(this,'delete_shout')\"><IMG SRC=\"".$site_sess->url(TEMPLATE_DIR."/default/images/delete.gif")."\" border=\"0\"></a>";(I use to upload "standard" buttons into the default-template folder, because I do not change these in the various templates...)

Then download the 2 attached images and upload these into templates/default/images/

:)
Have fun
MAяTRIX


Offline martrix

  • Hero Member
  • *****
  • Posts: 755
    • View Profile
    • overlord.cz
Re: [MOD] Shoutbox
« Reply #82 on: November 24, 2006, 07:13:42 PM »
OK so I got this message left on my shoutbox:
 
Code: [Select]
googlebot:   
I am GoogleBot.

I like bots. 

LOL.

well... you should hide the form from bots, if you'd installed my "Treat bots as users with less rights"
(use {ifnot is_bot}....{endifnot is_bot} as shown there on any action you don't want the bots to see or do...)
otherwise anybody, who knows how to change some of his brower-settings, can enter your page and spam your shoutbox (or even: do a lot of other things on you site ;) )


;)
Quote
MAяTRIX


Offline desperate_housewif

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: [MOD] Shoutbox
« Reply #83 on: December 25, 2006, 01:24:14 PM »
Hatte die Shoutbox installiert. Die Shoutbox soll in einer extra Templateseite erscheinen. Die Seite ist wesentlich breiter als die Shoutbox. Wie passe ich diese an?
Außerdem, wenn ich den "Shout it" -Button in der shout_form.html in "Senden!" ändere, funktioniert die gesamte Shoutbox nicht mehr.

My Shoutbox will be integrate in an extra template-site. This site The side is substantially broader than the shoutbox. How can I adapt the side?
   
In addition, when I  the "Shout it!"- button in the "shout_form.html" into "Senden!", the shoutbox don´t send.
« Last Edit: January 02, 2007, 06:21:46 PM by desperate_housewif »

Offline antonio2005

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: [MOD] Shoutbox
« Reply #84 on: January 17, 2007, 01:51:42 AM »
Hi,

Is there a way to preview shouts and validate them (publish in shoutbox) or delete them before publishing?

Thanks in advance,
António

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: [MOD] Shoutbox
« Reply #85 on: January 17, 2007, 06:13:13 AM »
Hallo,

kenn zwar den Mod nicht, aber bestimmt nicht
in der style.css:

Code: [Select]
/*--Shoutbox--------------------------------------------------*/
.shouts {
border: 1px;
border-style:solid;
border-color: #004C75;
height: 120px;
width: 148px;
padding: 0px;
overflow: auto;
}

die Größe der Box.
Zum Absenden:
Vielleicht sind in dem Quelltext die <form> </form> nicht passend, bzw. ineinander verschachtelt.
Dann klappts auch nicht.

Ne URL wäre gut

Gruß
Kurt

Offline desperate_housewif

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: [MOD] Shoutbox
« Reply #86 on: January 18, 2007, 08:24:20 PM »
Danke, die Breite und Höhe hatte ich in der Zwischenzeit in der style.css selbst angepaßt. Nun werden die Eintragungen breitenmäßig aber nicht an die neue Breite angepaßt, sondern kleben links. Das müßte noch geändert werden, dann wäre dieser Part perfekt.
Zwei weitere kleine Dinge noch: Nach dem Versenden wird man automatisch aus der Shoutbox herausgeschmissen und findet sich auf der Startseite wieder. Und beim Editieren im extra Fenster ist noch die kleine Größe eingestellt, so daß man es zum Editieren erst großziehen muß.

Zur URL: Die shoutbox.html liegt im abgeschlossenen Mitgliederbereich. Ich habe den Link getestet, da kommt man so nicht rein, ohne sich anzumelden.
« Last Edit: January 19, 2007, 05:46:44 PM by desperate_housewif »

Offline medo007

  • Newbie
  • *
  • Posts: 29
  • Internet addict
    • View Profile
Re: [MOD] Shoutbox
« Reply #87 on: January 24, 2007, 05:02:42 PM »
Great mod people!  :D
mEDO

Offline Parasco

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: [MOD] Shoutbox
« Reply #88 on: February 13, 2007, 11:21:00 PM »
is it possible to take nick from DB (registered users) and disable nick changes in posts ?


it reloads my whole page and when i put it in iframe it show me just tags like {shout_form} ,{shout_form}..
what im doing wrong ?

i know im still asking about something  :oops:
give me some time...


Find in shout_form.html:
Code: [Select]
          <input type="text" name="shout_user" value="{name}">
Replace with:
Code: [Select]
          <input type="hidden" name="shout_user" value="{name}">

Offline Noro

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: [MOD] Shoutbox
« Reply #89 on: March 13, 2007, 09:46:33 PM »
Ok, der Threat ist zwar bös alt, aber ich bekomme , nachdem ich die Shoutbox implementiert habe und auf "search" oder "advanced search" gehe folgende Fehlermeldung:


Notice: Undefined index: shout in C:\Programme\xampp\htdocs\images\4image\includes\shout.php on line 21

Notice: Undefined variable: prof_linka in C:\Programme\xampp\htdocs\images\4image\includes\shout.php on line 99

Notice: Undefined variable: prof_linkb in C:\Programme\xampp\htdocs\images\4image\includes\shout.php on line 100

Notice: Undefined variable: prof_linka in C:\Programme\xampp\htdocs\images\4image\includes\shout.php on line 99

Notice: Undefined variable: prof_linkb in C:\Programme\xampp\htdocs\images\4image\includes\shout.php on line 100

Notice: Undefined variable: prof_linka in C:\Programme\xampp\htdocs\images\4image\includes\shout.php on line 99

Notice: Undefined variable: prof_linkb in C:\Programme\xampp\htdocs\images\4image\includes\shout.php on line 100




Auf allen anderen Seiten funktioniert der Script recht Problemlos, abgesehen davon, das ich ndie Shouts nicht löschen kann ;)

Auch mit den Bugfix ging das löschen nicht :-\ Aber das Search Problem ist schlimmer...