Previous Thread
Next Thread
Print Thread
Rate Thread
#57646 05/19/2004 12:58 AM
Joined: Oct 2001
Posts: 572
Member
Member
Offline
Joined: Oct 2001
Posts: 572
A hack for ubb that will work like /me in irc does. Will work like a ubb code and replace the /me with *yourname and maybe a font color change.

Sponsored Links
#57647 05/19/2004 2:31 AM
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
IF anyone decides to do it; do it for the mudders, make it /e as well 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
#57648 05/19/2004 2:54 AM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
I think that although it fits to the shoutbox, it really wouldn't fit to the topic pages.

#57649 05/19/2004 11:21 AM
Joined: Oct 2001
Posts: 572
Member
Member
Offline
Joined: Oct 2001
Posts: 572
It fit in great on my site when I was on vb. You would be suprised how often some of your members would be using it.

#57650 05/19/2004 11:30 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
shouldn't be hard at all, just can be a problem when your name won't update after you change it

Sponsored Links
#57651 05/19/2004 12:00 PM
Joined: Oct 2001
Posts: 572
Member
Member
Offline
Joined: Oct 2001
Posts: 572
Doesnt really matter if the name updates. smile

#57652 05/19/2004 10:36 PM
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
Ian, make it work like the posts do; have it save the profile number and pull the PDN from it...


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
#57653 05/19/2004 11:38 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Quote
Originally posted by Gizzy:

Ian, make it work like the posts do; have it save the profile number and pull the PDN from it...
And how do you propose I do that?

First, when you edit the /me, it will NOT update. That's a given as of now, as a moderator edit would change the name.

This will not work with an alternate color without some annoying modification. First, I'll have to make it so it doesn't clash with the Advanced Text Mod. Secondly, I'll have to figure some way to save the original member number, while making sure the name isn't changed in edits.

I've already got my plate full with mods. I'll let someone else take this

#57654 05/20/2004 12:23 AM
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
I would say put into the ubb_lib_posting.cgi in the create_topic sub, so you wouldn't have to mess with the ubbcode, and that will update the pdn with the cache updates.

that's my take, :x

#57655 05/20/2004 12:38 AM
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, what brett said! lol


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
Sponsored Links
#57656 05/26/2004 12:07 AM
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
Quote
quote:
I'll let someone else take this
Code
in ubb_lib_posting.cgi

above:

# get custom title

add:

$post_body =~ s//me/<font style="color: red">*$show_public_name</font>/sig;
As i said above, the pdn won't update until the page updates by either new replies or cache refresh.


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
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
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)