Previous Thread
Next Thread
Print Thread
Hop To
Joined: Nov 2006
Posts: 191
Likes: 1
T
Member
Member
T Offline
Joined: Nov 2006
Posts: 191
Likes: 1
Hi guys

1) Which file do I edit to change the 'Shout Box' title text?

2) Could the shout box be run as a pop out at all or on its own page/link e.g. /forum/shoutbox - members often ask if I could provide a much larger box so they could see more activity as it's very popular. Even having the shoutbox on the portal page centred would be ideal as it would be wider for example.

Thanks as ever smile

Joined: Jan 2005
Posts: 186
member
member
Joined: Jan 2005
Posts: 186
If you go into the language editor you can search for anything and it will pull up the correct file(s). The shout box title is in portal_islands.php.

Here is a link to the naked shoutbox mod on ubbdev: https://www.ubbdev.com/forums/ubbthreads.php/topics/315254/1.html

I'm not sure if it works or not.

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
i have a newer version that works standalone -- just never updated @ ubbdev, since it's dead there

i'll add a post on my blog for download

Joined: Dec 2003
Posts: 1,796
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,796
Originally Posted by Sirdude
ubbdev, since it's dead there


wha? you just hurt my feelings...


- Allen
- ThreadsDev | PraiseCafe
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Originally Posted by AllenAyres
Originally Posted by Sirdude
ubbdev, since it's dead there


wha? you just hurt my feelings...
Thats what I was thinking... I keep it spam free, and update all of my mods there...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Mar 2007
Posts: 522
Addict
Addict
Joined: Mar 2007
Posts: 522
I still visit Dev to see if there's anything new.


Steve

UBB.classic from 2000-2003
UBB.threads from 2003-present!
Joined: Nov 2006
Posts: 191
Likes: 1
T
Member
Member
T Offline
Joined: Nov 2006
Posts: 191
Likes: 1
Originally Posted by Sirdude
i have a newer version that works standalone -- just never updated @ ubbdev, since it's dead there

i'll add a post on my blog for download

The naked shoutbox that I just read about sounds good... would it still have the same permissions etc i.e. none members can not see or use it?

Sounds like there may be a solution after all.

Joined: Jun 2006
Posts: 142
G
member
member
G Offline
Joined: Jun 2006
Posts: 142
I also have a iPhone/Android client that also works in Google Chrome, as well as a native Android app.

They require an added script in UBB.threads though, and are not (yet) available in App Store/Market.

http://github.com/ollej/prat


aka Olle Johansson
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
Gardener,

that github solution you posted is very nice. i really like how you cleaned up the ubb part of it and went class based ( as much as possible )

i would _really_ like to see v8 come out where the entire xx_run and xx_gpc are enclosed in a ubbPage_class kinda dealio.

that way we ( developers ) would just be able to EXTEND from there.

that would open up all kind of possibilities without having to touch a line of stock code..

2c

i've recommended that approach, but am not sure if it'll make it in..

Joined: Jun 2006
Posts: 142
G
member
member
G Offline
Joined: Jun 2006
Posts: 142
Yeah, that would be a really nice idea. Default classes which can be extended to override methods. And methods that only do one thing, without side-effects.

Having the login function actually redirect the user to a page is a bad idea, for example. Since I didn't feel like reimplementing the login functionality in my script, I just post to the login page and parse the result. Reaaaaally ugly.

BTW, if anyone wants to try the apps on their site, I'll gladly help out with configuration. It's pretty easy, the web app for iOS/Android is just a few files to upload and one config file to change. The Android app can be changed in the configuration by the user to point to the correct site, but I could compile a version with the correct default configuration for your site. In the future, I'm hoping to add a discovery/selection feature to use it with multiple sites.


aka Olle Johansson
Joined: Nov 2006
Posts: 191
Likes: 1
T
Member
Member
T Offline
Joined: Nov 2006
Posts: 191
Likes: 1
Guys, is there a way that the shout box can 'remember' longer entries/conversations i.e. scroll back longer?

Joined: Jan 2004
Posts: 2,474
Likes: 3
D
Pooh-Bah
Pooh-Bah
D Offline
Joined: Jan 2004
Posts: 2,474
Likes: 3
Yes there is smile

Take a look in scripts/getshouts.inc.php

At line 54 you will see...

$shout_limit = 30;

Alter that and you're good to go smile


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
1 members (Nightcrawler), 606 guests, and 134 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)