SimplePortal

Customization => Custom Coding => Topic started by: weerforum on October 19, 2012, 02:37:43 PM

Title: Show new post in the shoutbox
Post by: weerforum on October 19, 2012, 02:37:43 PM
Is that possible ???
I would like that.
I mean not the whole post but a kind of anocement.
Title: Re: Show new post in the shoutbox
Post by: phantomm on October 19, 2012, 02:44:37 PM
Something like this => http://simpleportal.net/index.php?topic=6934.0 ?

It needs small update for latest SMF and SP... maybe i'll try to make instruction later tomorrow.
Title: Re: Show new post in the shoutbox
Post by: weerforum on October 19, 2012, 02:47:15 PM
Yes  phantomm i saw that en i like that.
But i onely want it fot new post.
Title: Re: Show new post in the shoutbox
Post by: Devil jimmy on October 19, 2012, 04:20:33 PM
dit werkt perfect hoor voor nieuwe posten
je kan zelfs kiezen uit welke boards
dit draait bij mij zonder problemen
Title: Re: Show new post in the shoutbox
Post by: weerforum on October 20, 2012, 01:18:59 PM
dit werkt perfect hoor voor nieuwe posten
je kan zelfs kiezen uit welke boards
dit draait bij mij zonder problemen
:(

Hier werkt het niet hoor.
Ik zie niets in de shoutbox
Title: Re: Show new post in the shoutbox
Post by: weerforum on October 21, 2012, 04:40:55 PM
Something like this => http://simpleportal.net/index.php?topic=6934.0 ?

It needs small update for latest SMF and SP... maybe i'll try to make instruction later tomorrow.

Any update please  :D
Title: Re: Show new post in the shoutbox
Post by: weerforum on October 24, 2012, 09:04:08 AM
Shoutbox = id=8
What should i change in the code ?
Title: Re: Show new post in the shoutbox
Post by: Devil jimmy on October 24, 2012, 02:57:37 PM
vind in Sources/Post.php
Code: [Select]
notifyMembersBoard($notifyData);
plaats erna
Code: [Select]
$foros = array (1,2);


   if (in_array($board, $foros))
   {
global $user_info, $board, $scripturl, $boardName, $topic;

$smcFunc['db_insert']('',
'{db_prefix}sp_shouts',
array(
'id_shoutbox' => 'int',
'id_member' => 'int',
'member_name' => 'string',
'log_time' => 'int',
'body' => 'string',
),
array(
1,
$user_info['id'],
$user_info['name'],
time(),
'[color=red][b]New Topic: [iurl='.$scripturl . '?topic=' . $topic . '.new#new'.']'.html_entity_decode($_POST['subject']).'[/iurl][/b][/color]',
),
array('id_shout')
);
}

$foros = array (1,2);    hier verander je de nummers van de boards die je wenst te vetonen

      array(
         1,    hier het ID van je shoutbox

vind in ./Sources/Subs-Portal.php
Code: [Select]
$row['allowed_bbc']
vervang met
Code: [Select]
$row['allowed_bbc'] . ',iurl'
zo is het bij mij en het werkt uitstekend
Title: Re: Show new post in the shoutbox
Post by: weerforum on October 24, 2012, 03:02:03 PM
Wat moet ik instellen voor alle boards ?
Zou je eens willen kijken naar mijn bestanden en wat ik precies moet gaan invullen wat ik vroeg ?
En kan ik dan de tekst veranderen in Nieuw bericht gepost ?
Title: Re: Show new post in the shoutbox
Post by: Devil jimmy on October 24, 2012, 03:27:02 PM
probeer deze eens
Title: Re: Show new post in the shoutbox
Post by: weerforum on October 24, 2012, 03:34:14 PM
Sorry Dm

Ik zie niets in de shoutbox verschijnen  :)
Title: Re: Show new post in the shoutbox
Post by: Devil jimmy on October 24, 2012, 03:40:22 PM
ben je zeker dat het ID van je shoutbox nummer 8 is
dit lijkt me toch wel veel
heb jij echt 8 schoutboxen staan
kijk eens in je
Shoutbox overzicht
en klik eens op verander en kijk dan bovenaan welk nummer naast ID staat
Title: Re: Show new post in the shoutbox
Post by: weerforum on October 24, 2012, 03:44:31 PM
Nee ik heb er maar èèn hoor.
Maar ik zie dit staan http://weerforum.eu/index.php?action=admin;area=portalshoutbox;sa=edit;shoutbox_id=8;ca29a7dbe2=f59633182667151097fec463ad68835a
Title: Re: Show new post in the shoutbox
Post by: weerforum on October 24, 2012, 03:51:15 PM
En in een block staat het op deze manier.
http://weerforum.eu/index.php?action=admin;area=portalblocks;sa=edit;block_id=140;ca29a7dbe2=f59633182667151097fec463ad68835a
Title: Re: Show new post in the shoutbox
Post by: Devil jimmy on October 24, 2012, 04:01:16 PM
de [color ] [/color] url   /url en de [b ] [/b ]  tags moeten wel geactiveerd zijn in je shout settings

Title: Re: Show new post in the shoutbox
Post by: weerforum on October 24, 2012, 04:07:18 PM
de [color ] [/color] url   /url en de [b ] [/b ]  tags moeten wel geactiveerd zijn in je shout settings

probeer deze eens

Als ik dat toepas kan ik helemaal niet meer reageren Jim (wit scherm)
Title: Re: Show new post in the shoutbox
Post by: Devil jimmy on October 24, 2012, 04:09:10 PM
neem de vorige attachments terug maar deze settings in je shout moeten wel geactiveerd zijn dus alle bbc die ik aangaf
Title: Re: Show new post in the shoutbox
Post by: weerforum on October 24, 2012, 04:20:33 PM
Uhm in mijn SP staat dit niet  url   /url en de [b ] [/b ]
Ik gebruik SimplePortal 2.3.5
Title: Re: Show new post in the shoutbox
Post by: Devil jimmy on October 24, 2012, 04:24:25 PM
bij    
Shoutbox overzicht
bewerk shoutbox
toegestane bbc
deze die ik noemde moet je daar inkleuren (aanklikken)
Title: Re: Show new post in the shoutbox
Post by: weerforum on October 24, 2012, 04:27:01 PM
Ja maar die staan er bij mij niet tussen Dj
Title: Re: Show new post in the shoutbox
Post by: Devil jimmy on October 24, 2012, 04:35:28 PM
kijk eens in het    
Beheerscherm »
Berichten en topics »
Bulletin Board Code
als Gebruik bulletin board code aangevinkt staat
en bij
Ingeschakelde BBC-tags  of deze aangevinkt zijn
keer daarna terug naar je shout instellingen
Title: Re: Show new post in the shoutbox
Post by: weerforum on October 24, 2012, 04:40:25 PM
Staat aangevinkt.
Maar er staat ook automatisch linken tussen die volgens mij automatisch [link] maakt in de shoutbox.
Title: Re: Show new post in the shoutbox
Post by: Devil jimmy on October 24, 2012, 04:45:06 PM
Staat aangevinkt.
Maar er staat ook automatisch linken tussen die volgens mij automatisch [link] maakt in de shoutbox.

deze mag aangevinkt blijven
er moet ook nog in deze lijst iurl aangevinkt worden
nu ga ik wel slapen
morgenavond ben ik terug
Title: Re: Show new post in the shoutbox
Post by: weerforum on October 24, 2012, 04:48:32 PM
Ok maar die staat ook gewoon aangevinkt daar.
Truste en bedankt tot nu toe  ;D
Title: Re: Show new post in the shoutbox
Post by: Devil jimmy on October 25, 2012, 02:49:16 PM
dus met andere woorden het werkt nog steeds niet bij u
Title: Re: Show new post in the shoutbox
Post by: weerforum on October 25, 2012, 02:51:26 PM
Zeg maar jij hoor  :D

Nee het wil gewoon niet werken bij mij, en dat is ontzettend jammer.
Title: Re: Show new post in the shoutbox
Post by: Devil jimmy on October 25, 2012, 03:10:29 PM
ik heb net mezelf geregistreerd op je forum
daarna een voorstelling geplaatst en toen pas zag ik de shoutbox staan
en wat staat daar
jimmy: Plaatste net: [link]

wat betekend dat het dus half werkt
Title: Re: Show new post in the shoutbox
Post by: weerforum on October 25, 2012, 03:12:23 PM
Ja ik zag het Jimmy ,maar als ik iets post in een topic zie ik het niet.
Of is het alleen voor nieuwe topics ?
Title: Re: Show new post in the shoutbox
Post by: Devil jimmy on October 25, 2012, 03:15:11 PM
inderdaad het is enkel voor nieuwe topics

neem deze bijlagen eens
Title: Re: Show new post in the shoutbox
Post by: weerforum on October 25, 2012, 03:18:22 PM
Witte pagina bij reageren Jimmy.
Kijk maar eens.
Title: Re: Show new post in the shoutbox
Post by: Devil jimmy on October 25, 2012, 03:26:06 PM
deze dan
Title: Re: Show new post in the shoutbox
Post by: weerforum on October 25, 2012, 03:32:32 PM
Geen witte pagina , maar nieuw bericht wordt niet gezien in de shoubox grrrrrrrrrrrrrrrr
Title: Re: Show new post in the shoutbox
Post by: Devil jimmy on October 25, 2012, 03:47:47 PM
ik heb van alles geprobeerd op mijn testforum
maar het lukt me niet om antwoorden in de shout te krijgen
ik vind het jammer voor jou maar verder dan dit kom ik niet
enkel nieuwe topics lukt berichten dus niet
sorry
Title: Re: Show new post in the shoutbox
Post by: weerforum on October 25, 2012, 03:51:09 PM
Ja snap ik wel joh.
Daarom vroeg ik ook in dit topic om berichten ipv topics.
De maker moet dan maar eens verder kijken.
Bedankt voor je hulp hoor.
Title: Re: Show new post in the shoutbox
Post by: Devil jimmy on October 25, 2012, 03:54:13 PM
ik probeer verder te zoeken
als ik iets vind zal ik het laten weten
Title: Re: Show new post in the shoutbox
Post by: weerforum on October 25, 2012, 03:55:37 PM
Ok Jimmy thnx.
I hope that phantomm can help with it also
Title: Re: Show new post in the shoutbox
Post by: weerforum on October 29, 2012, 04:48:48 PM
Anyone ???

Is that possible ???
I would like that.
I mean not the whole post but a kind of anocement.
Title: Re: Show new post in the shoutbox
Post by: velorooms on October 29, 2012, 06:18:57 PM
if someone explains what all that dutch says i might be able to help :D
Title: Re: Show new post in the shoutbox
Post by: weerforum on October 29, 2012, 06:27:44 PM
He tries to help but that did not work
So the main question still stand

I would like if a post is done it is listed in the shoutbox
Title: Re: Show new post in the shoutbox
Post by: Aquafan on May 10, 2015, 08:08:32 AM
Als je dus bv board 10 er neer zit als je childbords hebt zal je niets zien je moet dan bv zetten 10.0
Title: Re: Show new post in the shoutbox
Post by: ♦ Ninja ZX-10RR ♦ on May 10, 2015, 02:17:43 PM
Unless you post in German section, I kindly ask you to speak English so that everyone (or well, most of us) can understand you without using the translator (which is garbage). :)
Title: Re: Show new post in the shoutbox
Post by: Chen Zhen on May 10, 2015, 10:13:02 PM

ref.
http://simpleportal.net/index.php?topic=6934.msg61033#msg61033

Let me know (in English) if you need help implementing that into SMF's infrastructure.

Regards.
SimplePortal 2.3.8 © 2008-2024, SimplePortal