Welcome, Guest. Please Login or Register.
September 28, 2024, 10:52:07 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Completed mods  |  [BETA] Quick admin « previous next »
Pages: 1 [2] 3 4 Reply Ignore Print
Author Topic: [BETA] Quick admin  (Read 12896 times)
Jedi~
Eric
Beta Tester
YaBB God
*****
Posts: 1284


WWW
Re:[BETA] Quick admin
« Reply #15 on: May 29, 2002, 01:39:22 PM »
Reply with quote

Just try expanding the template width a bit, that should fix it.
Logged
Jalapeno
Full Member
***
Posts: 158


Peno, Jala Peno...

WWW
Re:[BETA] Quick admin
« Reply #16 on: May 29, 2002, 02:06:48 PM »
Reply with quote

Thanks, I'll try in a few hours when I'm back from walking the dog.  :)
Logged

Too lazy. Way too lazy.
myk
Jr. Member
**
Posts: 99


I'm a llama! *spit*

ICQ - 1938747 WWW
Re:[BETA] Quick admin
« Reply #17 on: May 30, 2002, 12:25:19 PM »
Reply with quote

OOK! OOK! I KNOW! geez. i actually figured something out for once!

okay, the code that says
EOT;
if (($MenuType == 0) AND (($settings[7] == "Administrator") OR ($settings[7] == "Global Moderator"))) {
   print "<td class=\"windowbg\" valign=\"middle\" bgcolor=\"$color[windowbg2]\"><a href=\"$cgi;action=sticky;threadid=$mnum;sticky=$isSticky;q=1\">$qaimg[1]</a> <a href=\"$cgi;action=lock;threadid=$mnum;q=1\">$qaimg[2]</a> <a href=\"$cgi;action=movethread;threadid=$mnum;q=1\">$qaimg[3]</a> <a href=\"$cgi;action=removethread2;threadid=$mnum\">$qaimg[4]</td>";
   }
if (($MenuType == 1) AND (($settings[7] == "Administrator") OR ($settings[7] == "Global Moderator"))) {
   print "<td class=\"windowbg\" valign=\"middle\" bgcolor=\"$color[windowbg2]\"><a href=\"$cgi;action=sticky;threadid=$mnum;sticky=$isSticky;q=1\">$qatxt[1]</a> <a href=\"$cgi;action=lock;threadid=$mnum;q=1\">$qatxt[2]</a> <a href=\"$cgi;action=movethread;threadid=$mnum;q=1\">$qatxt[3]</a> <a href=\"$cgi;action=removethread2;threadid=$mnum\">$qatxt[5]</a></td";
   }
print <<<EOT
should be changed to
if (($MenuType == 0) AND (($settings[7] == "Administrator") OR ($settings[7] == "Global Moderator"))) {
   print "<td class=\"windowbg\" valign=\"middle\" bgcolor=\"$color[windowbg2]\"><table width=\"100%\">
  <tr>
    <td ><a href=\"$cgi;action=sticky;threadid=$mnum;sticky=$isSticky;q=1\">$qaimg[1]</a></td><td> <a href=\"$cgi;action=lock;threadid=$mnum;q=1\">$qaimg[2]</a></td>
    <td ><a href=\"$cgi;action=movethread;threadid=$mnum;q=1\">$qaimg[3]</a></td><td> <a href=\"$cgi;action=removethread2;threadid=$mnum\">$qaimg[4]</td>
  </tr>
</table>
</td>";
   }
if (($MenuType == 1) AND (($settings[7] == "Administrator") OR ($settings[7] == "Global Moderator"))) {
   print "<td class=\"windowbg\" valign=\"middle\" bgcolor=\"$color[windowbg2]\"><table width=\"100%\">
  <tr>
    <td ><a href=\"$cgi;action=sticky;threadid=$mnum;sticky=$isSticky;q=1\">$qatxt[1]</a></td><td> <a href=\"$cgi;action=lock;threadid=$mnum;q=1\">$qatxt[2]</a></td>
    <td ><a href=\"$cgi;action=movethread;threadid=$mnum;q=1\">$qatxt[3]</a></td><td> <a href=\"$cgi;action=removethread2;threadid=$mnum\">$qatxt[5]</a></td>
  </tr>
</table>
</td";
   }
print <<<EOT
which will give us


you can add
</tr><tr>after each line that says $qatxt[2]</a></td> to get


now, i know this is probably the most bloated code to do something simple, but hey, it works and i actually figured it out on my own. im so proud of me *sniff*

PS, this is basically "clean" text so you ~can~ copy and past if you want...
Logged

claimed mods:
none. the world is better off with me on the receiving end of mods rather than the giving end
Lonestar
Jr. Member
**
Posts: 87


SchwartzMaster

ICQ - 57595208 WWW
Re:[BETA] Quick admin
« Reply #18 on: May 30, 2002, 05:20:05 PM »
Reply with quote

Whats need is the ability to bold the name of the topic above the admin commands.
Logged

Jedi~
Eric
Beta Tester
YaBB God
*****
Posts: 1284


WWW
Re:[BETA] Quick admin
« Reply #19 on: May 30, 2002, 05:59:13 PM »
Reply with quote

Myk, that's actually a really bad idea, it can easily screw up displays on low resolutions or different templates. That's why I made it the way I did. It should automatically display like you displayed if you stretch the display out enough. Normally it displays in a square, and on lower res/smaller templates it displays in a stack, I appreciate the effort though. :)
Logged
myk
Jr. Member
**
Posts: 99


I'm a llama! *spit*

ICQ - 1938747 WWW
Re:[BETA] Quick admin
« Reply #20 on: May 31, 2002, 08:16:35 AM »
Reply with quote

im running at 1280x1024 with basically the default template. i'm using the A B C D method i posted and the thread list looks fine even at 640x480. using your code exactly as it was it put it as
A
B
C
D
which ~really~ threw my boards off kilter. thread rows went from 2 lines (because of the 'last post' column) to 4... so, is there an easier way to do this? my template width is 100% for all outer tables (that what you were talkin bout?)
Logged

claimed mods:
none. the world is better off with me on the receiving end of mods rather than the giving end
Jedi~
Eric
Beta Tester
YaBB God
*****
Posts: 1284


WWW
Re:[BETA] Quick admin
« Reply #21 on: May 31, 2002, 11:11:46 AM »
Reply with quote

You must have a lot of columns added, because it displays perfectly as a square in my display at a 99% template width and a 1024 resolution.
Logged
myk
Jr. Member
**
Posts: 99


I'm a llama! *spit*

ICQ - 1938747 WWW
Re:[BETA] Quick admin
« Reply #22 on: June 01, 2002, 07:27:25 AM »
Reply with quote

HAHA! actually, i have ~less~ than normal. I removed the post count and views columns (names may not be correct but hey).
Logged

claimed mods:
none. the world is better off with me on the receiving end of mods rather than the giving end
Shindou Hikaru
Honinbou
YaBB Crony
YaBB God
*****
Posts: 1358


ICQ - 152652980mephidmann@emulation-inc.com WWW
Re:[BETA] Quick admin
« Reply #23 on: June 01, 2002, 08:14:45 AM »
Reply with quote

Looks great! Do non-admins also see that column?
Logged

Please do not message me for support, use the support boards
Amazon Wishlist | ThinkGeek Wishlist | My Blog
myk
Jr. Member
**
Posts: 99


I'm a llama! *spit*

ICQ - 1938747 WWW
Re:[BETA] Quick admin
« Reply #24 on: June 01, 2002, 08:17:26 AM »
Reply with quote

i believe only the admins and global mods see it. regular mods and members do not (i know for sure)
Logged

claimed mods:
none. the world is better off with me on the receiving end of mods rather than the giving end
Jedi~
Eric
Beta Tester
YaBB God
*****
Posts: 1284


WWW
Re:[BETA] Quick admin
« Reply #25 on: June 01, 2002, 09:19:05 AM »
Reply with quote

No, your right, normal mods don't, that will be fixed in the next version (whenever I get a chance to finish it.)
Logged
Stud Muffin
Full Member
***
Posts: 120


Oh baby!!

WWW
Re:[BETA] Quick admin
« Reply #26 on: June 28, 2002, 07:05:43 PM »
Reply with quote

Got it to work with SE 1.4.0
but i get all 4 boxes in line also. Do i need to change this?

Quote<TABLE class=bordercolor cellSpacing=0 cellPadding=0 width="96%" align=center bgColor=#6394bd border=0>
  <TBODY>
  <TR>
    <TD>
      <TABLE class=bordercolor cellSpacing=1 cellPadding=0 width="100%" align=center bgColor=#6394bd border=0>
        <TBODY>
        <TR>
          <TD>
            <TABLE cellSpacing=0 cellPadding=10 width="100%" align=center bgColor=#ffffff border=0>
              <TBODY>
              <TR>
                <TD vAlign=top width="100%">
<yabb main>
   </TD>
   </TR>
   </TBODY>
              </TABLE>
          </TD>
        </TR>
        </TBODY>
       </TABLE>

« Last Edit: June 28, 2002, 07:06:02 PM by Stud Muffin » Logged

Thanks to all the YaBBSE team, a great forum :)
OAP clan Forum
Jedi~
Eric
Beta Tester
YaBB God
*****
Posts: 1284


WWW
Re:[BETA] Quick admin
« Reply #27 on: June 29, 2002, 12:20:46 PM »
Reply with quote

Try pushing that 96% out to 99%
Logged
Stud Muffin
Full Member
***
Posts: 120


Oh baby!!

WWW
Re:[BETA] Quick admin
« Reply #28 on: June 29, 2002, 12:55:22 PM »
Reply with quote

No its still doing it. How do i make the end box with holds the icons bigger? I have set it to 99%.

Edit:

So i used the code from myk, and it looks like this and works ok @ 800*600 and not a full browser window.

« Last Edit: June 29, 2002, 01:04:35 PM by Stud Muffin » Logged

Thanks to all the YaBBSE team, a great forum :)
OAP clan Forum
Ben_S
Disciple of Joe
Support Team
YaBB God
*****
Posts: 1586


I Love YaBB SE!

WWW
Re:[BETA] Quick admin
« Reply #29 on: June 29, 2002, 02:26:12 PM »
Reply with quote

just wondering if your still planning on doing a tickbox one... noones asked for a while ;)

If not I might have a go at hacking it myself for my board which would be funny seeing as I dont know much but what better way to learn
Logged
Pages: 1 [2] 3 4 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [BETA] Quick admin « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.078 seconds with 20 queries.