I have recently made a block which notifies you about new PM's and if you are banned. It also includes some user infomation...ect
Here is what it includes:
PM Notifier
Banned Notifier
Username
User ID
Profile Link
User Full Name
Welcoming message to the site (Includes $SITE_NAME$ code)
#I was going to add some more, such as Reputation/Awards/Reproof's Level/Group/Rank/Module Entries...ect But for some reason, most code were not working for me.
Were to put the code: Activate Builder -> In the Admin Bar click Builder -> Then click Add Block. Now a block should appear, drag it the preffered area and click the icon. Then another box should appear, click "HTML". Then paste the code in the emty box. Then click the "Save" button. Then you can edit the block title as you wish, and to finish, again click Builder in the admin bar at the top and click "Save changes"
Additional Infomation: #You can also change the Access to the block (which groups can see this block), which I recomend you to change it to invisible for Guests. To do this follow the instructions below: Activate Builder -> In the Admin Bar click Builder -> Then click Add Block. Now a block should appear, drag it the preffered area and click the icon. Then another box should appear, click "Access", and then untick the groups you don't want to see this block. Now, to finish, click the "Save" Button
#If you have made your own Block Code similar to this but better, please post your code here
Any questions, please post them here too
Best Regards, Mistory
GamesCenter wont grow unless you register! C'mon you know you want to
~I might be a little slow. I'm getting used to the Mac
Message edited by Mistory - Monday, 2009-09-07, 11:24 Am
This should be in Design Customization, Collection of Scripts are things that don't involve uCoz.
There was once a man named Lee. He used to love taking a ***, then he found THIS!
Indeed. I would suggest to call it "User Profile Page in Block" or something similar to that. It could be very good tutorial if you would work more at it & add more details. Completed tutorials need to be made. As for this thread, I could move it to Users Communications & there you could improve it and then we/I would say what else should be added or changed.
You could have added user's Avatar too. It would be nice if you see the avatar when you logged in. $USER_AVATAR_URL$.
It's my suggestion. It's not hard to add the avatar image. . Instead of User id, you could have added group name ($USER_GROUP$). It will look professional i think. We are going to use this on main page, so it should be a bit more professional
"I don't like to commit myself about heaven and hell - you see, I have friends in both places"
Message edited by Vinothdazzlin - Tuesday, 2009-09-08, 0:42 Am
But I can't show some information, such as user's reproofs (percent) and the image of user's reproofs ( ), because the codes $_BAN_PERCENT$ and $_BAN_RATING$ do not work in global blocks, does anyone know any other way to show this information?
You could have added user's Avatar too. It would be nice if you see the avatar when you logged in. $USER_AVATAR_URL$.
It's my suggestion. It's not hard to add the avatar image. wink . Instead of User id, you could have added group name ($USER_GROUP$). It will look professional i think. We are going to use this on main page, so it should be a bit more professional biggrin
I tried, but once again it is not working GamesCenter wont grow unless you register! C'mon you know you want to
~I might be a little slow. I'm getting used to the Mac
All links in blue, are images from my site, you should replace them with the link of your own images. (I provided the links of my images, just to better illustrate when you test the code)
All links in red, should be replaced by the URL of your site.
In green, new features I added at the request of Mistory.
Not all users choose an avatar when they register, so I created a standard image that is displayed when a User does not choose an avatar.
It is better to show a standard image instead a blank space.
No, you do not need to use it. (the image should be replaced by your own if you choose to use it)
Quote
What is this code? <?if($GROUP_ID$=1)?>
It shows the group icon of the User that is online.
Quote
I created more groups, how do I display the icon of the new group?
You need to add this code for each group that you created.
Quote
<?if($GROUP_ID$=New group's ID)?><img src="LINK TO YOUR NEW GROUP'S IMAGE" border="0" alt="GROUP NAME"><?endif?>
Quote
How do I know the ID of my new group?
Go to: Control Painel > Users > User groups
Quote
Why show "Your ID (Private)"?
This is optional, I use in my contact form to find faster the profile of User that contacted me, and to prove that it is who it says it is, when asked me to change its username or deleting the account. Then I check all the data and see if the ID confirmed. But you can use or not.
Quote
I do not want to display guest profile, what should I do?
And follow what Mistory said in his first message, "Additional Information".
Quote
I created more groups, but the link "View history of reproofs" does not appear for them or for me, why and what should I do?
The link "view history of reproofs" does not appear to the admin, because no one can give reproofs to the admin, so, there's no need to show this link to the admin.
To show this link for the new groups you created, simply insert the new group ID to the code, for example:
Quote
<?if($GROUP_ID$=1 || $GROUP_ID$=2 ||$GROUP_ID$=3 || $GROUP_ID$=251 || $GROUP_ID$=New group's ID || $GROUP_ID$=New group's ID)?><hr> <div align="center"><a class="banPercent" title="View reproofs history" href="javascript://" rel="nofollow" onclick="new _uWnd('Bh',' ',400,250,{autosize:1,maxh:300,minh:100,closeonesc:1},{url:'/index/21-$USER_ID$'});return false;">View history of reproofs</a></div><?endif?></div>
And so on, until you have added all your new groups.
You can edit the code as you wish.
I just explained the basics, but if you have any questions about the code, you can contact me.
Igor-Sousa, i love your code, it's deffinatly better than mine It could be better including some other things like Reputation and Awards (if it's possible)
Can you give me the HTML Code for the block please? Because if I just use the code you put, it looks like this: http://i30.tinypic.com/rml05y.jpg
GamesCenter wont grow unless you register! C'mon you know you want to
~I might be a little slow. I'm getting used to the Mac