|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Description: Adds a dropdown for the admin functions (close, move, delete) instead of the images. By: Lord Dexter Original Author: Tech-Ni-Kal Requirements: Any 6.3.0 Version and Mod Wordlets Installed. Compatability: Any 6.3 Version. Download: Click Here Please report any bugs. Also if you were part of this hack in any way and you have not been included in credits please ask and not yell at me. Thanks. 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
If you REALLY want me to report bugs, you use a href=" in the second close_option and delete_option.
If you want a suggestion: 1. make the admin_select and ---- lines without #
2. put the jumpPage function's CONTENT in onchange="" instead of a link to it.
3. "onChange" isn't XHTMLed
To use suggestions 1/2: [code][/code]
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Updated. Bug and Suggestion 3 done.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Another bug - public_topic_page.pl shouldn't have between the options 
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Okay evetything has been done. Thanks alot LK. 
|
|
|
|
Joined: Sep 2001
Posts: 379
Member
|
Member
Joined: Sep 2001
Posts: 379 |
Currently, all it needs is a working link. 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
|
|
|
|
Joined: Sep 2001
Posts: 379
Member
|
Member
Joined: Sep 2001
Posts: 379 |
Much better! 
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Thanks LK. I had to move servers. Link has been fixed in first post too.
|
|
|
|
Joined: Jul 2002
Posts: 45
Member
|
Member
Joined: Jul 2002
Posts: 45 |
i guess this isn't compatible with sticky threads, i tried installing this hack after i installed sticky threads and the dropdown menu options are not in the dropdown form, they're next to it in plain text 
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
It's compatiable with Sticky Threads, but you'll need to edit the Sticky code in ubb_lib_posting.cgi so it is also in a dropdown.
|
|
|
|
Joined: Jul 2002
Posts: 45
Member
|
Member
Joined: Jul 2002
Posts: 45 |
nice release a sticky threaded version? the sticky thread code is so different from the rest 
|
|
|
|
Joined: Jul 2002
Posts: 45
Member
|
Member
Joined: Jul 2002
Posts: 45 |
still doesn't work, but it did the same thing that happened before I tried putting sticky code in. the form is there, but options are not, they are next to the form in plain text 
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
You replace it with similar code I used for the other dropdowns CTM, here I extracted it from my files....(replace this with the same code CTM asked your to find)
[code][/code]
|
|
|
|
Joined: Jul 2002
Posts: 45
Member
|
Member
Joined: Jul 2002
Posts: 45 |
ok, but that wasn't my problem. even before i tried the sticky threads, the dropdown menu would be there but wouldn't have any options, and the "Move Topic" "Delete Topic" etc would be next to the dropdown menu in plain text : *edit* and when i put your new code in a get a ubb_get_topic.cgi error line 81 
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
What file did you put that code in?
|
|
|
|
Joined: Jul 2002
Posts: 45
Member
|
Member
Joined: Jul 2002
Posts: 45 |
quote: Originally posted by Lord Dexter: What file did you put that code in?
i put it in ubb_lib_posting.cgi, isn't that where it's supposed to go...
and can you tell me why the dropdown menu doesn't work? i guess it's just on my board??
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Yes, because it works fine everywhere else. Try-rehacking.
|
|
|
|
Joined: Jul 2002
Posts: 45
Member
|
Member
Joined: Jul 2002
Posts: 45 |
rehacked, same problem : screenshot i'm doing exactly what the text file says 
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
That is weird, I have extracted what was in my ubb_lib_posting.cgi so use this if it has any difference to the txt file which I doubt:
[code][/code]Thats with sticky code too.
|
|
|
|
Joined: Jul 2002
Posts: 45
Member
|
Member
Joined: Jul 2002
Posts: 45 |
ok, thanks i'll try it later tonight that's gonna be a pain in the ass to copy and put in notepad still doesn't work 
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Did you do the public_topic_page.pl step right? Because thats where the problem seems to be.
EDIT - Try this instead of what you have in public_topic_page.pl
[code][/code]
|
|
|
|
Joined: Jul 2002
Posts: 45
Member
|
Member
Joined: Jul 2002
Posts: 45 |
yes, that worked!  all the functions work fine, I also put "$sticky_option" next to "$delete_option" and the sticky works fine also. thank you very much one more q, how would I center the form vertically? screenshot
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Is that code different to whats in the TXT file?
BTW, what do you mean center vertically?
|
|
|
|
Joined: Jul 2002
Posts: 45
Member
|
Member
Joined: Jul 2002
Posts: 45 |
quote: Originally posted by Lord Dexter: Is that code different to whats in the TXT file?
BTW, what do you mean center vertically?
yeah, the code is different. I think it was missing a tag or something, but it works now so update it
And I mean, the posting buttons are at the bottom of their table, while the admin functions menu is at the top of its table.
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
There should be TD Tags above that code where you can change the align to center or bottom instead of top.
|
|
|
|
Joined: Jul 2002
Posts: 45
Member
|
Member
Joined: Jul 2002
Posts: 45 |
yeah, there is and i changed the valign to bottom but it still stayed at the top : i think it has something to do with cellpadding or spacing but I don't know how to fix that.
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Give me that bit of code that you changed. (Post it here)
|
|
|
|
Joined: Jul 2002
Posts: 45
Member
|
Member
Joined: Jul 2002
Posts: 45 |
<td width="25%" bgcolor="$vars_style{AltColumnColor1}" nowrap="nowrap" valign="bottom" align="center"> <font size="1" face="$vars_style{FontFace}"> $topic_wording $poll_link $reply_wording </font> </td>
<td width="50%" bgcolor="$vars_style{AltColumnColor2}" valign="bottom" align="center"> <font size="1" face="$vars_style{FontFace}"> $close_option $move_option $delete_option $sticky_option </font> </td>
<td width="25%" bgcolor="$vars_style{AltColumnColor1}" align="right" valign="middle"> <font size="1" face="$vars_style{FontFace}"> <a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=next_topic;f=$forum_number;t=$topic_number;go=older"><img src="$vars_config{NonCGIURL}/$vars_style{prev_topic}" border="0" alt="$vars_wordlets{next_oldest_topic}" /></a> <a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=next_topic;f=$forum_number;t=$topic_number;go=newer"><img src="$vars_config{NonCGIURL}/$vars_style{next_topic}" border="0" alt="$vars_wordlets{next_newest_topic}" /></a> </font> </td> There's the code, the middle table is the one I editted of course.
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Can you edit the code there and put in the code from this hack?
|
|
|
|
Joined: Jul 2002
Posts: 45
Member
|
Member
Joined: Jul 2002
Posts: 45 |
quote: Originally posted by Lord Dexter: Can you edit the code there and put in the code from this hack? eh? the only difference is before in the middle table the "valign" tag was set to "top."
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Change the valign="top" to valign="bottom" then, and maybe put the align tag before the valign tag.
|
|
|
|
Joined: Feb 2000
Posts: 59
Member
|
Member
Joined: Feb 2000
Posts: 59 |
Lord Dexter, is there anywhere to download this? Your links still aren't working.
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Updated, sorry forgot to update that one.
|
|
|
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
|
|
|
|