Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Aug 2002
Posts: 45
User
User
Offline
Joined: Aug 2002
Posts: 45
Hi, I have a question. I'm a long time reader of forums but it's my first time trying to set on up. Is it possible for like a thread to have a different post icon if a certain person/group posts a reply in the thread itself? I mean the boards I'm attempting to setup deals with a lot of technical issues etc etc. And I would want to have a thread to have a different icon, kinda like how sticky posts have the pushpin pic, when a someone from a certain group replys. That would eliminate a lot of speculation and wrong answers being contributed by people who do not know and just guess. Just wondering if it's possible? I'm thinking it would be a if..then statement with something or the other. but unfortunately it's beyond my skills haha

i think there is a site...bioware? or something that has something similar implemented if you don't know what I mean.

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
I've done alot of hacking with the post icons and such based on file types. I bet I could easily adapt the "if" statement to check the usergroup. (he says before he looks at it ).

I'll take a look.

Joined: Aug 2002
Posts: 45
User
User
Offline
Joined: Aug 2002
Posts: 45
coolness. you wouldn't know how many people would want something like that. well..i don't haha maybe just me. But reasoning behind it is you know when too many people jump in a conversation with their two cents and you don't know who to believe. it would be cool to have a authoratative answer. thanks man.

Joined: Jun 2002
Posts: 375
Enthusiast
Enthusiast
Offline
Joined: Jun 2002
Posts: 375
Maybe you could give custom titles to those who have working brains so others know they are the correct answer posters? hehe

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
I've written something up and posted it here.

It works for postlist, showflat and showthreaded.

It does NOT work for the list of replies in showthreaded view. Frankly, showthreaded.php confuses the heck outta me. So if there's anyone that can make that work, be my guest. I'm not sure that it queries the user table for those as it doesn't do the Mod/Admin flag either.

Hope that helps!
Josh

Sponsored Links
Joined: Aug 2002
Posts: 45
User
User
Offline
Joined: Aug 2002
Posts: 45
Oh yeah, I thought about that, but then somebody one time is gonna go "Uh...what does that mean." or get just ridiculously confused. Plus people like pretty picture and don't wanna read thru the entire post. Coz people are just lazy like that.

Wow, that's awesome you got to work on it so quickly. If I can learn quickly maybe I can work on it too altho I got a long way to go before even coming close to understanding what it's doing.


Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
If you made a graphic that said "expert" or somthting like that.. this could be adapted to appear below their username or title in the showflat and showthreaded view.... and/or even in thie profile... if that worked better than in the subject.

Joined: Aug 2002
Posts: 45
User
User
Offline
Joined: Aug 2002
Posts: 45
I finally got around to trying to implement your little hack there. And I can't find line:

// -----------------------------------------------------------
// If there is a file attachment we mark it with the disk icon
if ($file) {
$Subject = "<img src="{$config['images']}/file.gif" alt="" border="0" $imagestyle />$Subject";
}
$thisone = ",$Number,";
$alt = ".";
$newthread = "";

in the postlist.php

I was wondering am I missing something? Like another mod? or something?

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Ooooops!

My bad.... the hack WILL work with 6.0.x but I wrote it for 6.1.... but after a while I get so confused over what has been a hack for so long and what has been a standard feature that I used some code exclusive to 6.1 as a reference point.

I just tweaked the instructions.... to code that will also exist in 6.0.x and reposted here.

Haven't tested in 6.0.x though.... but it should work now. Let me know how you make out.

Josh

Joined: Aug 2002
Posts: 45
User
User
Offline
Joined: Aug 2002
Posts: 45
well, i think i'll put this mod on hold for the time being since the boards have to go public soon and I don't have time to have it going down and not working. So I'm gonna scrounge up some spare parts here and there and reimage the server onto another computer and play with the mod then. so if i mess it up, there's no big deal. Plus I really want this mod to work well.

Sponsored Links

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
Zarzal
Zarzal
Berlin, Germany
Posts: 808
Joined: July 2001
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 20240430)