|
Joined: Feb 2000
Posts: 23
User
|
User
Joined: Feb 2000
Posts: 23 |
I've been looking around here and couldn't find any documentation on how I can take the "report post" icon in 6.3.1.2. and move it from the bottom of a post to the top. Just like here on UBBdev.
Another item I'm certain is around here, but I'm too inept to find it or figure it out myself, is another feature used here. In a forum's display, in the "last topic" area there is the infamous blue arrow that brings a user right to the latest post....How can that be done?
...perhaps a kind soul can lead me into the right direction. ("That way." Which way? "Up.")
-Brad "If itching persists contact doctor." "Make the most out of toast." "Laugh your way out of an intense bathroom situation."
|
|
|
|
Joined: Nov 2001
Posts: 745
Admin Emeritus
|
Admin Emeritus
Joined: Nov 2001
Posts: 745 |
Find $report_icon
and move it on a new line directly after $direct_reply. That will move the report post icon.
|
|
|
|
Joined: Feb 2000
Posts: 23
User
|
User
Joined: Feb 2000
Posts: 23 |
Ah, thank you. It works quite nice. I have a pipe showing between the direct reply icon and the report icon. How can that be removed?
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Pipe? Can you post a screenshot maybe?
|
|
|
|
Joined: Nov 2001
Posts: 745
Admin Emeritus
|
Admin Emeritus
Joined: Nov 2001
Posts: 745 |
There's a | that is inserted in the bottom line before the report post. I can't remember where that is added to that variable. I'll have to rummage around in the cgi.
|
|
|
|
Joined: Nov 2001
Posts: 745
Admin Emeritus
|
Admin Emeritus
Joined: Nov 2001
Posts: 745 |
Ok. I think I found it. About like 1503 in ubb_lib_posting.cgi you will see $report_icon = qq~$vars_config{'jc'}->{'ip-divider'} I *think* if you remove the the part I posted after the equal sign it should remove the pipe. Note: I have not tested this, and may not work properly, so use at your own risk 
|
|
|
|
Joined: Feb 2000
Posts: 23
User
|
User
Joined: Feb 2000
Posts: 23 |
Sub Zero, a good suggestion. I did the same thing when I was trying to figure out where the pipe was coming from. ....Just in case, I did try removing the portion (that you copied above) after the equal sign.... I receive the following error: CGIPath/ubb_lib_posting.cgi: syntax error at CGIPath/ubb_lib_posting.cgi line 1442, near " " syntax error at CGIPath/ubb_lib_posting.cgi line 1442, near "/a>syntax error at CGIPath/ubb_lib_posting.cgi line 1443, near "} else" syntax error at CGIPath/ubb_lib_posting.cgi line 1449, near "}" That must tell something.
|
|
|
|
Joined: Nov 2001
Posts: 745
Admin Emeritus
|
Admin Emeritus
Joined: Nov 2001
Posts: 745 |
I'd put it back in, and i'll keep searching.
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
quote: Originally posted by bradmagic: Sub Zero, a good suggestion. I did the same thing when I was trying to figure out where the pipe was coming from. ....Just in case, I did try removing the portion (that you copied above) after the equal sign.... I receive the following error: CGIPath/ubb_lib_posting.cgi: syntax error at CGIPath/ubb_lib_posting.cgi line 1442, near "" syntax error at CGIPath/ubb_lib_posting.cgi line 1442, near "/a>syntax error at CGIPath/ubb_lib_posting.cgi line 1443, near "} else" syntax error at CGIPath/ubb_lib_posting.cgi line 1449, near "}"
That must tell something. Only this should be removed Brad: $vars_config{'jc'}->{'ip-divider'} Not: qq~$vars_config{'jc'}->{'ip-divider'} When you take out "qq~" UBB is looking for the code which will no longer exist after you deleted it. You can also do this: Find (in ubb_lib_posting.cgi): [/code]and replace it with:
[code] After just place your $report_icon in the topic page where you want. In the replace code I took out the "span style" codes since I use CSS in the header.
|
|
|
|
Joined: Aug 2002
Posts: 19
Junior Member
|
Junior Member
Joined: Aug 2002
Posts: 19 |
or just replace divider w/ space so it looks like this
qq~$vars_config{'jc'}->{'nbsp-space'}
[code][/code]
Man what a rush...
|
|
|
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.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|