TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,965
  • Latest: boruko
Stats
  • Total Posts: 195,982
  • Total Topics: 21,320
  • Online today: 431
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 100
  • Total: 100

Mini-User CP Block

Started by akulion, November 26, 2006, 02:42:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

akulion

hi,

ok this is a center block but u can adapt it to a side block if u want

Demo: http://path-to-peace.net/forum
u cant miss it unless u close ur eyes :P

User: test
Pass: test

This is a rough code meaning it contains stuff specific to my site so ull have to change a few things in there, mainly being:

- downloads link
- membermap (the mod if u have it ur cool, if u dont then ull have to remove it)
- site complaints (put the url for ur complaints board if u have one)
- site questions (put the url for the questions related to ur site board if u have one)

anyways to cut a long chase short - just try and edit out the parts u dont need and keep the ones u do need etc etc yada yada

im feeling very sleepy and lazt so forgive me

the code to put is this - in a PHP box



echo'
<head>
<SCRIPT language="JavaScript1.2" src="main.js" type="text/javascript"></SCRIPT>
</head>
<DIV id="TipLayer" style="visibility:hidden;position:absolute;z-index:1000;top:-100;"></DIV>
<SCRIPT language="JavaScript1.2" src="style.js" type="text/javascript"></SCRIPT>           
<div align="center"><table border="0" width="100%" style="border-collapse: collapse"><tr><td width="40%">Here you can control the various aspects of your membership on Path To Peace. Simply move your mouse cursor over the icons on the right to learn about each option</td><td width="60%">
<table border="1" cellspacing="0" style="border-collapse: collapse">
<tr>
<td align="center"valign="top">
<font face="Verdana" size="2">
<a href="', $scripturl, '?action=profile;u=;sa=account" onMouseOver="stm(Text[1],Style[1])" onMouseOut="htm()"><img border="0" src="usercp2/ksysguard.png"></a></font></td>
<td align="center"valign="top">
<font face="Verdana" size="2">
<a href="', $scripturl, '?action=profile;u=;sa=theme" onMouseOver="stm(Text[2],Style[1])" onMouseOut="htm()"><img border="0" src="usercp2/kivio.png"></a></font></td>
<td align="center"valign="top">
<font face="Verdana" size="2">
<a href="', $scripturl, '?action=theme;sa=pick;u=;sesc=', $context['session_id'], '" onMouseOver="stm(Text[3],Style[1])" onMouseOut="htm()"><img border="0" src="usercp2/blockdevice.png"></a></font></td>
<td align="center"valign="top">
<font face="Verdana" size="2">
<a href="', $scripturl, '?action=profile;u=;sa=forumProfile" onMouseOver="stm(Text[4],Style[1])" onMouseOut="htm()"><img border="0" src="usercp2/kuser.png"></a></font></td>
<td align="center"valign="top">
<font face="Verdana" size="2">
<a href="', $scripturl, '?action=profile;u=;sa=statPanel" onMouseOver="stm(Text[5],Style[1])" onMouseOut="htm()"><img border="0" src="usercp2/kwalletmanager.png"></a></font></td>
<td align="center"valign="top">
<font face="Verdana" size="2">
<a href="', $scripturl, '?action=profile;u=;sa=showPosts" onMouseOver="stm(Text[6],Style[1])" onMouseOut="htm()"><img border="0" src="usercp2/kedit.png"></a></font></td><td align="center"valign="top">
<a href="', $scripturl, '?action=post;board=110.0" onMouseOver="stm(Text[13],Style[1])" onMouseOut="htm()"><img border="0" src="usercp2/Warning.png"></a></font></td><td align="center"valign="top">
<a href="', $scripturl, '?action=post;board=112.0" onMouseOver="stm(Text[14],Style[1])" onMouseOut="htm()"><img border="0" src="usercp2/Security_Question.png"></a></font></td><td align="center"valign="top">
<a href="', $scripturl, '?action=calendar" onMouseOver="stm(Text[15],Style[1])" onMouseOut="htm()"><img border="0" src="usercp2/Calendar.png"></a></font></td>
</tr>
<tr>

<td align="center"valign="top">
<font face="Verdana" size="2">
<a href="', $scripturl, '?action=profile;u=;sa=notification" onMouseOver="stm(Text[7],Style[1])" onMouseOut="htm()"><img border="0" src="usercp2/mailreminder.png"></a></font></td>
<td align="center"valign="top">
<font face="Verdana" size="2">
<a href="', $scripturl, '?action=profile;u=;sa=editBuddies" onMouseOver="stm(Text[8],Style[1])" onMouseOut="htm()"><img border="0" src="usercp2/kdmconfig.png"></a></font></td>
<td align="center"valign="top">
<font face="Verdana" size="2">
<a href="', $scripturl, '?action=profile;u=;sa=pmprefs" onMouseOver="stm(Text[9],Style[1])" onMouseOut="htm()"><img border="0" src="usercp2/mail.png"></a></font></td>
<td align="center"valign="top">
<a href="', $scripturl, '?action=profile;u=;sa=tpshoutbox" onMouseOver="stm(Text[10],Style[1])" onMouseOut="htm()"><img border="0" src="usercp2/messenger.png"></a></td>
<td align="center"valign="top">
<a href="', $scripturl, '?action=search" onMouseOver="stm(Text[11],Style[1])" onMouseOut="htm()"><img border="0" src="usercp2/find.png"></a></td>
<td align="center"valign="top">
<a href="', $scripturl, '?action=pm;sa=send;u=1" onMouseOver="stm(Text[12],Style[1])" onMouseOut="htm()"><img border="0" src="usercp2/agent.png"></a></td><td align="center"valign="top">
<a href="', $scripturl, '?action=googlemap" onMouseOver="stm(Text[16],Style[1])" onMouseOut="htm()"><img border="0" src="usercp2/Map2.png"></a></font></td><td align="center"valign="top">
<a href="http://path-to-peace.net/index.php?ind=downloads&op=submit_file" onMouseOver="stm(Text[17],Style[1])" onMouseOut="htm()" target=_blank><img border="0" src="usercp2/Windows_Command.png"></a></font></td><td align="center"valign="top">
<a href="', $scripturl, '?action=gallery;sa=add;cat=1" onMouseOver="stm(Text[18],Style[1])" onMouseOut="htm()"><img border="0" src="usercp2/Holiday.png"></a></font></td>
</tr>
</table></td></tr></table></div>
';



Afterwards download the zip file attatched
In it are 2 things....
Usercp2 (FOLDER)
2 JS files

upload the js files to ur forum root - this gives a cool mouse over popup description

upload the folder to ur forum root as well

thats all enjoy

ps: the files are PNG format but u can convert them to gif if u want...the old IE has issues with PNG but I hear the new IE dosent..but just thought id mention it

PPS:I nearly forgot to mention...u can change the text for the popups and their display style in the Style.js file

files added - just take care of a few things....IF you are already using the mouse over script on ur page then DO NOT replace the 2 JS files with these ones...just open the style.js file and copy over the new text strings to ur existing style.js file.

The images folder called usercp2 goes as is in the forum root.
the main.js and style.js files also go in the forum root

brianjw

Great script aku! :)
Yes the new IE has like no errors. Ever error someone has mensioned does not happen to me. So if everyone updates there IE there won't be any problems.
http://microsoft.com

RoarinRow

Hey sleepy head, were's the zip files   :o

SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

brianjw

Yeah where is the zip files :o!

G6Cad

A lot of attachments were lost during the change of host and server for TP.
This is one of them  :-\

RoarinRow

ok Aku, you're forgiven   :2funny:     :uglystupid2:

SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

brianjw

#6
lol :2funny:

Aku, can you provide was with the zip for the Mini UserCP?

RoarinRow

Quote from: brianjw on December 29, 2006, 10:50:24 PM
lol :2funny:

Aku, can you provide was with the zip for the Mini UserCP?

PS: Aku's site isn't working. The whole site says 403 forbidden.

See: http://path-to-peace.com
Do you know what this is?

I got a redirect message, but eventually got to his site ok.

SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

RoarinRow

Quote from: brianjw on December 29, 2006, 11:07:56 PM
Do you get the 403 Forbidden Page when you
Click Here ???

Nope, clear as day.  I think Aku banned you   :2funny:   j/k

SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

RoarinRow

Quote from: brianjw on December 29, 2006, 11:17:51 PM
I don't know. He might have :(
and his image is broken so i think it is forbidden. idk

Not sure B.  Works for me   :o

SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

This website is proudly hosted on Crocweb Cloud Website Hosting.