Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: May 2002
Posts: 41
User
User
Offline
Joined: May 2002
Posts: 41
After a recent upgrade to UBB.Threads 6.4 from 6.2.2 I need help with the following:

Making the post icons for new posts orange again (as they should be, and should never have been changed in my opinion). The hack seems to have disappeared off the face of the earth (or Threadsdev anyway).

Admin log for searches and edit posts <- Still trying to find ow to add these to the admin log.

ICQ bug in profiles <- Image not displayed, and on a separate line.

Allow moderators to see invisible users on the Who's Online screen.

After running the bugged altertable-6.3-6.4.php I was wondering how to go about restrospectively fixing my polls that this altertable has messed up.

Last edited by Sheall; 12/12/2003 8:01 PM.
Sponsored Links
Joined: Jun 2002
Posts: 160
Member
Member
Offline
Joined: Jun 2002
Posts: 160
[] Making the post icons for new posts orange again (as they should be, and should never have been changed in my opinion). The hack seems to have disappeared off the face of the earth (or Threadsdev anyway).
[/]

I'm looking for this as well. I was one of the folks back in 6.2 who griped about this and spurred people to post howtos on this. I fished around and I found the legend fix post on this saved to my HD, but I couldn't find the actual original instructions on how to do this.

Joined: Jun 2002
Posts: 160
Member
Member
Offline
Joined: Jun 2002
Posts: 160
Actually, try this thread.

I went and did a check of all of my own old posts.

Joined: May 2002
Posts: 41
User
User
Offline
Joined: May 2002
Posts: 41
I also think the ICQ thing is because the feature is currently down - I tried using it elsewhere and it's not working.

Okay, two problems down, three to do.

Joined: May 2002
Posts: 41
User
User
Offline
Joined: May 2002
Posts: 41
I am trying to figure out the editpost log now... I think maybe I am on the wrong track.

I was thinking like

// Log this action
admin_log("EDITPOST", "$number_q;$user_q");

or something in editpost.php?

Sponsored Links
Joined: May 2002
Posts: 41
User
User
Offline
Joined: May 2002
Posts: 41
Ok got it... here is what I did...

/ubbthreads/modifypost.php

Find:
Code
<br />// ----------------------------------------------<br />// Make sure they get refeshed to the proper page <br />

and change to:
Code
<br />// ----------------------------------------------<br /><br />// Log this action<br /> admin_log("EDITPOST", "$Board_q;$Subject_q;$Number");<br /><br />// Make sure they get refeshed to the proper page<br /><br />


This adds the board name, subject and post number to the admin log everytime someone edits a post (useful for tracing people logged into other's accounts that shouldn't be etc).

Joined: May 2002
Posts: 41
User
User
Offline
Joined: May 2002
Posts: 41
Okay, I have edited online.php so that my mods can see invisible users.

Also, I note that if you have "Show the actual thread I am viewing on who's online" set to "no" - it now displays as "private" even for admins and moderators, wheras before it was private for normal users, but admins could see it.

This modification will allow both mods and admins to see invisible users on the who's online screen, and in addition shows what they are viewing, even if they have this turned off.

/ubbthreads/online.php

Change everything in between "// Replace their location with something that makes sense" and the next comment, to the following.

Code
// Replace their location with something that makes sense<br />      if (stristr($RealWhat,"faq_")) {<br />         $RealWhat = "faq_english";<br />      }<br />      $What = $ubbt_lang[$RealWhat];<br />      if (!$What) { $What = $ubbt_lang['all_admin']; }<br /><br /><br />     if ($user['U_Status'] != "Administrator" and $user['U_Status'] != "Moderator" and $Visible == "no") {<br />         continue;<br />      }<br />      $extra = "";<br />      if ($Visible == "no") {<br />         $extra = "(I)";<br />      }<br />      $regrow[$x]['extra'] = $extra;<br />      $Last = $html -> convert_time($Last,$toffset);<br />      $EUsername = $Uid;<br />      $PUsername = $Username;<br />      if ($Color) {<br />         $PUsername = "<font color=\"$Color\">$Username</font>";<br />      }<br />      $regrow[$x]['color'] = $color;<br />      $regrow[$x]['EUsername'] = $EUsername;<br />      $regrow[$x]['PUsername'] = $PUsername;<br /><br />      if ($Status == "Administrator") { $Status = $ubbt_lang['USER_ADMIN']; }<br />      if ($Status == "Moderator") { $Status = $ubbt_lang['USER_MOD']; }<br />      if ($Status == "User") { $Status = $ubbt_lang['USER_USER']; }<br />


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)