Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 3 1 2 3
Joined: Feb 2007
Posts: 329
Yarp™
Yarp™
Offline
Joined: Feb 2007
Posts: 329
Originally Posted by sirdude
hehe.. well you want kick + ban, max online limit ? (i will leave out the start/stop times as you can figure a way to deal with that manually -- ie make the link not work or have a default screen -- for now)

The start/stop time in our previous chat worked a bit better then that. It was a time when you could get in, but it didn't close up after that time. If you were in, you stayed in. If somehow you had to reboot, you got 5 minutes to get back in. I'll get that in myselve again.

Our max online was combined also with an idle kick. If you were chatter limit+1, it would kick a passive user (no activity for x minutes).

Quote
once caveat.. php 5, so i can use the zend built in json_encode routine (very fast).

php 5 is fine, that's what running at our host.

Sponsored Links
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
well, excellent!

maybe i get it to a point and then you add those features in and post back here! laugh

ty blaaskaak

Joined: Feb 2007
Posts: 329
Yarp™
Yarp™
Offline
Joined: Feb 2007
Posts: 329
Originally Posted by sirdude
maybe i get it to a point and then you add those features in and post back here! laugh

That's what ubb haxxors are for right?

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
awee, so cute, SD made a new playmate! wink


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
Originally Posted by sirdude


once caveat.. php 5, so i can use the zend built in json_encode routine (very fast).


I was getting excited, until I read that frown


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Sponsored Links
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
did you read the rest of the post ?

Quote
once caveat.. php 5, so i can use the zend built in json_encode routine (very fast).

if you MUST have php4, then there is a workaround, but i don't recommend. (slower and in php code vs compile c)

Joined: Feb 2007
Posts: 329
Yarp™
Yarp™
Offline
Joined: Feb 2007
Posts: 329
Originally Posted by sirdude
did you read the rest of the post ?

I didn't, I have php5 smile

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Yeh, who isn't using PHP5 now :x


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
Ian

Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
Me laugh

If only I could frown

Maybe one day smile


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Sponsored Links
Joined: Jun 2006
Posts: 4
Lurker
Lurker
Joined: Jun 2006
Posts: 4
Hi Sirdude,

are there any updates on this mod?
I would like to integrate a testversion of it on Astronomie.de.

Regards,
Thorsten

Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
well, i kinda got sidetracked into 7.3 development. so this puppy sat on the shelf for a bit.

the next time i take it off the shelf and dust it off should be where it get it to the point that it does most of what i've described in the wish list.

i know blaask has some more ideas, so i'm hoping that once i feed it out here, he will also add his magic to make it even better.

if you're looking for a timeframe, i'd say it's a couple of weeks away as i still have some 7.3 items to finish off.

Joined: Feb 2007
Posts: 329
Yarp™
Yarp™
Offline
Joined: Feb 2007
Posts: 329
Originally Posted by sirdude
i know blaask has some more ideas, so i'm hoping that once i feed it out here, he will also add his magic to make it even better.


We have a date smile

Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
whoops i said blaask, when i meant Yarp™

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Yarppy Yarperson?


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Feb 2007
Posts: 329
Yarp™
Yarp™
Offline
Joined: Feb 2007
Posts: 329
Funny thing is, our Hamster is called yarr, and we have for almost 2 years now smile

He has his own pirate boat next to his cage and stuff. (Yep, I'm not a 100% wink )

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
You make me feel normal...

When my son was 6 months, I bought him a piggy bank... Which is a pirate jumping out of a pirates chest... :flex:™


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
Originally Posted by sirdude
ok, i've complete overhauled it to use new javascript. this is essentially standalone and only shares with ubbthreads on the user DB side of things as well as to grab the styles.

i will wrap it up soon, but it ain't ready for prime time yet..

til then... patience smile


Any developments on these changes?


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Joined: Jun 2006
Posts: 4
Lurker
Lurker
Offline
Joined: Jun 2006
Posts: 4
is there any place where this mod is installed where it can be tried out?

from what i've seen so far in this thread, it looks very good, though perhaps far more sophisticated than i really require!

Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
i have it running on 2 private boards (7.2.2) ... and haven't touched this puppy in a long time.

until 7.3 comes out, it's going to remain as is..

after that, i can revisit this smile

Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
Originally Posted by Gary Dean
is there any place where this mod is installed where it can be tried out?

from what i've seen so far in this thread, it looks very good, though perhaps far more sophisticated than i really require!


We have it running at http://www.fansfocus.com smile


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Joined: Oct 2007
Posts: 10
Newbie
Newbie
Offline
Joined: Oct 2007
Posts: 10



Last edited by mishter; 12/28/2007 4:05 PM. Reason: Question withdrawn
Joined: Jun 2001
Posts: 176
Member
Member
Offline
Joined: Jun 2001
Posts: 176
hey this is what I was looking for
question here
how do I add the header/footer to the naked shout
then I would not have to open another page

edit
I looked over the simple.inc.php & compared to naked shout .
but still fail to see why it's not pulling the header & footer
can someone point me in the right direction

Last edited by Dslam; 03/03/2008 10:52 PM. Reason: compared to simple.inc.php
Joined: May 2008
Posts: 2
Lurker
Lurker
Offline
Joined: May 2008
Posts: 2
I just installed this and I'm looking for a way to add code to the shout box, it would be nice for urls to be clickable and what not. [url ]???????? [/url ] Any ideas on this?

Joined: Apr 2008
Posts: 7
Lurker
Lurker
Offline
Joined: Apr 2008
Posts: 7
Hi everyone! I asked this over at Ubbcentral, but since it might be a coding issue that needs to be played with, I thought I'd ask it here, too.

Is there a way to periodically clear the messages in the ShoutBox? I don't use the shoutbox on the portal page, but want to experiment with the Naked Shoutbox. I have all of the other coding in place, however, the only problem is that when I opened the naked shoutbox, it had the last posts still listed (and the shoutbox has been turned off since like the beginning of March.)

I would like to empty the shoutbox from time to time, so that people aren't seeing months-old conversations. Since this may be a coding thing, I thought this would be the best place to ask. Thanks!

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
As posted at UBBCentral; items in the shoutbox should scroll off sith subsequent posts; believe the total number is 30. So on the 31st post, the first in the file will scroll off.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Apr 2008
Posts: 7
Lurker
Lurker
Offline
Joined: Apr 2008
Posts: 7
Thanks, Giz!

Joined: Oct 2002
Posts: 2
Lurker
Lurker
Offline
Joined: Oct 2002
Posts: 2
Does this work in 7.3?

Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
i'll prolly have a new nakedshout after the weekend. one dude, who's been using it needs an upgrade..

Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
This seems to work for me (in 7.3):

templates/default/nakedshout.tpl
PHP Code

{* Script Version 7.3 *}
{*
SD - Mod: The naked shoutbox is born! *}
<!
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang.XML_LANG}" lang="{$lang.XML_LANG}" dir="{$lang.READ_DIRECTION}">
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset={$lang.CHARSET}" />
<
link rel="stylesheet" href="{$stylesheet}" type="text/css" />
<
script type="text/javascript" src="{$config.BASE_URL}/ubb_js/ubb_jslib.js?v=7.3"></script>
<script type="text/javascript" src="{$config.BASE_URL}/ubb_js/shoutbox.js?v=7.3"></script>
<script type="text/javascript" src="{$config.BASE_URL}/ubb_js/boxover.js?v=7.3"></script>
<script language="javascript" type="text/javascript">
var confirmText = "{$lang.CONFIRM}";
var notLogged = "{$lang.NO_SHOUT}";

var baseurl = "{$config.BASE_URL}";
var fullurl = "{$config.FULL_URL}";
var imagedir = "{$style_array.general}";
var script = "{ubb url="" full="true"}";
var myUid = '{$myid}'; // Don't get excited, you can't exploit this :D
var submitClicked = "{$lang.SUBMIT_CLICKED}";
var s_priv = '{$s_priv}';
</script>
<title>Naked Shout - {$lang.POWERED_BY} UBB.threads™</title>
</head>
<body>

<table width="810px" height="560px" cellpadding="0" cellspacing="0" border="0">
<tr><td>
{$tbopen}
<tr>
<td class="tdheader">{$lang.SHOUT_BOX}</td>
</tr>
<tr>
<td class="alt-1">
<div id="shout_box" style="height:550px; width: 800px; overflow:auto;">
<div id="shout_content" style="height: 530px;">
</div>
</div>
<form name="shoutbox" method="post" action = "" onsubmit="shoutit();return false;">
<div align="center">
<span id="shout_field">
<input type="text" name="shoutbody" size="80" class="form-input" maxlength="255" value="" onenter="shoutit()" />
</span>
<span id="sending_field" style="display:none">
Sending...
</span>
<br />
<input type="button" name="shoutbutton" value="{$lang.SHOUT_IT}" class="form-button" onclick="shoutit()" />
<input type="reset" value="{$lang.RESET_IT}" class="form-button" />
</div>
<div id="shout_uid" style="display:none;">
Delete this shout?
<input type="button" class="form-button" id="del_yes" value="Yes" /><input type="button" class="form-button" id="del_no" value="No" />
</div>
</form>
</td>
</tr>
{$tbclose}

</td></tr></table>
<script type="text/javascript">getShouts(0);</script>
</body>
</html>

scripts/nakedshout.inc.php

PHP Code


<?php

if(!defined("UBB_MAIN_PROGRAM")) exit;

function &
page_nakedshout_gpc () {
return array(
"input" => "",
"wordlets" => "" ,
"user_fields" => "",
"regonly" => 1,
"admin_only" => 0,
"admin_or_mod" => 0,
);
}
// end page_picupload_gpc

function &page_nakedshout_run () {
global
$style_array,$smarty,$user,$in,$ubbt_lang,$config,$forumvisit,$visit,$dbh,$var_start,$var_eq,$var_sep,$var_extra,$userob;
extract($in, EXTR_OVERWRITE | EXTR_REFS); // quick and dirty fix - extract hash values as vars

// -------------------
// Just the facts maam
$smarty_data = array();
define('NO_WRAPPER',1);
$stylesheet = "{$config['BASE_URL']}/styles/{$style_array['css']}";
$s_priv = $userob->check_access("site","CAN_SHOUT");

$smarty_data = array(
"stylesheet" => $stylesheet,
"myid" => $user['USER_ID'],
"s_priv" => $s_priv,
);


return array(
"header" => array (
"title" => "Naked shout",
"refresh" => 0,
"user" => $user,
"Board" => "",
"bypass" => 0,
"onload" => "",
"breadcrumb" => "",
),
"template" => "nakedshout",
"data" => & $smarty_data,
"footer" => false,
"location" => "",
);
}
?>



Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
Good stuff, Gardener smile

I'll be adding a new version with more bells / whistles, since it's needed.. I might just leave your example as the final version of nakedshout v1.1

and then create a new thread with v2.0

ty smile

ps: the link to your 'Complete list of my mods' is busticated wink

Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
Yeah, my server broke down completely a while ago and I haven't had time to set up the site again.

Joined: May 2008
Posts: 18
Newbie
Newbie
Offline
Joined: May 2008
Posts: 18
Sirdude any update on v2 smile

Ian

Joined: Mar 2007
Posts: 94
Power User
Power User
Joined: Mar 2007
Posts: 94
did this project die?

Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
i just had someone who 'needs' it.. so i will be resurrecting this in the next few weeks..

v2.1 i guess laugh

prolly with either MT or jQ for the javascript library, but that won't really matter to non-coders..

Joined: Mar 2009
Posts: 3
Lurker
Lurker
Offline
Joined: Mar 2009
Posts: 3
i just want to move the shout box to beneath the navbar without having to click it to open it..


Joined: Mar 2009
Posts: 3
Lurker
Lurker
Offline
Joined: Mar 2009
Posts: 3
now let me think.. what was the reason i went with VB?.

Joined: Jan 2007
Posts: 70
Power User
Power User
Joined: Jan 2007
Posts: 70
Because you're insane?

laugh

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Not sure if it's as easy as creating template code out of the cache rebuilder routines; if i get some time before this weekend I'll take a look.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Apr 2009
Posts: 4
Lurker
Lurker
Joined: Apr 2009
Posts: 4
Is this combatibme vith 7.5.4.2 ?? i cant get it to work ??

http://www.gramkofi.dk/logen/ubbthreads.php?ubb=nakedshout

Page 2 of 3 1 2 3

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)