Good art is a taste, good design is an opinion.


Come as guest, stay as family.
Board Index

Come as guest, stay as family.


You are not connected. Please login or register

Foto

[Solved] Request a code of this forum



View previous topic View next topic Go down Message [Page 1 of 1]

1
Offline

  anonim007

avatar
Punbb Rookie
Punbb Rookie
  • Description:
I need the code to this:

  • Information:
Forum:http://www1.topiked.com/Version:PUNBB
Type:Request a codeTags:Request,forum

Powered by PunBB
Currently 0 users have thanked anonim007 for this post:

2
Offline

  FrOsTyXi

avatar
V.I.P. Member
V.I.P. Member
Yes i'm interested in that as well would be a nice touch.

Powered by PunBB
Currently 0 users have thanked FrOsTyXi for this post:

3
Offline

  RoyalLand

avatar
Punbb Rookie
Punbb Rookie
same request dude share Rapid this code

Powered by PunBB
Currently 0 users have thanked RoyalLand for this post:

4
Offline

  Van-Helsing

avatar
★Moderator★
★Moderator★
Hello,
This is the useraction tool

You must go to your ACP->Display->Colors -> CSS StyleSheet and add the following code:

Code:

/ * User action */
#pun-visit  ul , .main-box  ul { position : relative ; width : 16px ; height : 16px ; background : url ( http://i56.servimg.com/u/f56/18/59/49/93/align_10.png ) no-repeat center transparent ; z-index : 20 } #pun-visit ul : hover { margin-top : -.7em ; margin-right : -1.1em } .main-box ul : hover { margin-top : -.65em ; margin-left : -1.05em } #pun-visit li , .main-box li { display : none ; width : 230px ; background : #FFF ; border-color : transparent #888 #999 ; border-style : solid ; border-width : 0 2px ; margin : 0 } #pun-visit li : first-child , .main-box li : first-child { border-top : 2px solid #999 } #pun-visit li : last-child , .main-box li : last-child { border-bottom : 2px solid #999 } .main-box li { margin-left : 0 ; float : left ; text-align : left ; width : 170px } #pun-visit ul : hover li , .main-box ul : hover li { display : block } #pun-visit li : hover , .main-box li : hover { background : #F2F2F2 } #plus_menu { left : auto !important ; right : 60px !important ; top : -8px ; border : 2px solid #999 ; width : 260px !important ; background : #FFF } #plus_menu .title-overview { display : none } #plus_menu .left-overview { padding : 0 } #pun-visit ul a , .main-box ul a { display : block ; height : 30px ; line-height : 30px ; padding : 0 10px } #pun-visit ul a : hover , .main-box ul a : hover { background : #f2f2f2 } .dashed { border-top : 1px dashed silver ; margin : 5px 0 } #pun-visit br { display : none } 


Powered by PunBB
Currently 0 users have thanked Van-Helsing for this post:

5
Offline

  FrOsTyXi

avatar
V.I.P. Member
V.I.P. Member
Thank you for the share although this did not work on my forum punbb.

Powered by PunBB
Currently 0 users have thanked FrOsTyXi for this post:

6
Offline

  Van-Helsing

avatar
★Moderator★
★Moderator★
Is not working? The only way which is not working is if you removed some parts from your templates.

Powered by PunBB
Currently 0 users have thanked Van-Helsing for this post:

7
Offline

  FrOsTyXi

avatar
V.I.P. Member
V.I.P. Member
Ah maybe that is the issue not sure tho index_body correct?

Powered by PunBB
Currently 0 users have thanked FrOsTyXi for this post:

8
Offline

  Van-Helsing

avatar
★Moderator★
★Moderator★
Yes probably you have removed the following code from your index_body template:

Code:

<!-- BEGIN switch_user_logged_in -->
<div id="pun-visit" class="clearfix">
   <ul>
         <li><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></li>
         <li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li>
      <li><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a></li>
      <li><a href="{U_MARK_READ}">{L_MARK_FORUMS_READ}</a></li>
   </ul>
   <p>{LOGGED_AS}. {LAST_VISIT_DATE}</p>
</div>
<!-- END switch_user_logged_in -->

and from your index_box the following code:

Code:

<!-- BEGIN switch_on_index -->
<div class="main-box clearfix">
   <ul>
      <li><a href="{U_TODAY_ACTIVE}">{L_TODAY_ACTIVE}</a></li>
      <li><a href="{U_TODAY_POSTERS}">{L_TODAY_POSTERS}</a></li>
      <li><a href="{U_OVERALL_POSTERS}">{L_OVERALL_POSTERS}</a></li>
   </ul>
   <!-- BEGIN switch_delete_cookies -->
   <p class="right">
      <a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}" rel="nofollow">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a>
   </p>
   <!-- END switch_delete_cookies -->
</div>
<!-- END switch_on_index -->

Powered by PunBB
Currently 0 users have thanked Van-Helsing for this post:

9
Offline

  FrOsTyXi

avatar
V.I.P. Member
V.I.P. Member
Here is my index_body template Rapid and I went through it maybe you can see where the error is, I see the snippet you posted right on top so i'm at a loss.

Code:
{JAVASCRIPT}
<!-- BEGIN switch_user_logged_in -->
<div id="pun-visit" class="clearfix">
   <ul>
         <li><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></li>
         <li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li>
      <li><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a></li>
      <li><a href="{U_MARK_READ}">{L_MARK_FORUMS_READ}</a></li>
   </ul>
   <p>{LOGGED_AS}. {LAST_VISIT_DATE}</p>
</div>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<div class="guestMessage"><div class="guestHeader"><font><font>Welcome to Team-PSN.net</font></font></div><font>Register now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and more. This message will be removed after you have signed in.</font></font><br><a href="#" onclick="show_popup('sign_in_popup_popup');" class="guestButton" id="sign_in"><font>Sign In </font></a><a href="javascript:dangki()" class="guestButton"  id="register"><font>Create Account</font></a></div>
<script>$(function(){$(".guestButton").click(function(){$(".quang_cao1").hide();$("#ucp").css({'display':'block'});});$(".phutu1").click(function(){$(".quang_cao1").show();$(".dang_nhap#ucp").css({'display':'none'});});});</script>
<style>.guestMessage {
    background: url("http://i.imgur.com/plQdik8.png") repeat-x scroll 0px 0px rgb(255, 242, 219);
    border: 1px solid rgb(234, 199, 148);
    color: rgb(184, 95, 29);
    line-height: 180%;
    margin-bottom: 10px;
    padding: 10px;
    text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.55);
    border-radius: 4px 4px 4px 4px;
}
.guestMessage {
    background: url("http://i.imgur.com/plQdik8.png") repeat-x scroll 0px 0px #FFDBDB;
    border: 1px solid #EA9494;
    color: #B81D1D;
    line-height: 180%;
    margin-bottom: 10px;
    padding: 10px;
    text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.55);
    border-radius: 4px;
}
.guestHeader {
    background: -moz-linear-gradient(center top , #F05151 0%, #F57272 100%) repeat scroll 0% 0% transparent;
    box-shadow: 0px 1px 4px #B00A0A inset, 0px 1px 0px rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    color: #9A0000;
    text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.4);
    padding: 10px;
    font-size: 1.1em;
    font-weight: bold;
    margin: -4px -4px 10px;
}
.guestMessage a.guestButton:hover {
    opacity: 0.8;
}
.guestMessage a.guestButton {
    background: -moz-linear-gradient(center top , #F05151 0%, #F57272 100%) repeat scroll 0% 0% transparent;
    box-shadow: 0px 1px 4px #B00A0A inset, 0px 1px 0px rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    color: #9A0000;
    text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.4);
    padding: 0px 14px;
    display: inline-block;
    height: 36px;
    line-height: 36px;
    outline: 0px none;
    margin: 10px 8px 0px 0px;
    font-weight: bold;
    text-decoration: none;
}</style>
<!-- END switch_user_logged_out -->


<!-- BEGIN message_admin_index -->
<div class="main">
   <!-- BEGIN message_admin_titre -->
   <div class="main-head">
      <h1 class="page-title">{message_admin_index.message_admin_titre.MES_TITRE}</h1>
   </div>
   <!-- END message_admin_titre -->

   <!-- BEGIN message_admin_txt -->
   <div id="pun-announcement">
      <p>{message_admin_index.message_admin_txt.MES_TXT}</p>
   </div>
   <!-- END message_admin_txt -->
</div>
<!-- END message_admin_index -->

<!-- BEGIN switch_user_login_form_header -->
<div class="main">
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
   <div class="user_login_form main-box center">
      <label><span class="genmed">{L_USERNAME} :</span> <input class="post" type="text" size="10" name="username" /></label> &nbsp;
      <label><span class="genmed">{L_PASSWORD} :</span> <input class="post" type="password" size="10" name="password" /></label> &nbsp;
      <label><span class="gensmall">{L_AUTO_LOGIN}</span> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label> &nbsp;
      {S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" />
      <!-- BEGIN switch_fb_connect -->
      <span class="fb_or">{switch_user_login_form_header.switch_fb_connect.L_OR}</span>
      <fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" scope="{switch_user_login_form_header.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_header.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button>
      <!-- END switch_fb_connect -->
   </div>
</form>
</div>
<!-- END switch_user_login_form_header -->

{CHATBOX_TOP}
<div id="{ID_LEFT}" class="main">
  <div class="main-head">
      <div class="page-title">
        <h2>Latest Topics</h2>
      </div>
  </div>
    <div class="main-content">
      <table cellspacing="0" class="table">
        <tbody class="statused">
            <!-- BEGIN giefmod_index1 -->
            {giefmod_index1.MODVAR}
            <!-- END giefmod_index1 -->
        </tbody>
      </table>
  </div>
  <script type="text/javascript">
      //<![CDATA[
      var versionMinor = parseFloat(navigator.appVersion),
        versionMajor = parseInt(versionMinor),
        IE = document.all && !window.opera && 7 > versionMajor,
        IE7 = document.all && !window.opera && 7 <= versionMajor,
        OP = window.opera,
        FF = document.getElementById,
        NS = document.layers;
 
      function get_item(a, c) {
        if (IE) return c ? window.opener.document.all[a] : document.all[a];
        if (FF) return c ? window.opener.document.getElementById(a) : document.getElementById(a);
        if (NS) return c ? window.opener.document.layers[a] : document.layers[a]
      }
 
      var current_tooltip;
 
      function show_tooltip(a, c) {
        var b = get_item("tooltip");
        b || (b = document.createElement("div"), b.setAttribute("id", "tooltip"), document.body.appendChild(b));
        b.style.zIndex = 1000;
        b.style.position = "absolute";
        b.innerHTML = "<p>" + c + "</p>";
        b.style.visibility = "visible";
        a.onmousemove = move_tooltip;
        a.onmouseout = function() {
            b.style.visibility = "hidden"
        };
        a.title = ""
      }
      var offsetxpoint = -60,
        offsetypoint = 20,
        real_body = document.compatMode && "BackCompat" != document.compatMode ? document.documentElement : document.body,
        real_body = document.documentElement ? document.documentElement : document.body;
 
      function move_tooltip(a) {
        var c = !IE ? a.pageX : event.clientX + real_body.scrollLeft,
            d = !IE ? a.pageY : event.clientY + real_body.scrollTop,
            b = IE && !window.opera ? real_body.clientWidth - event.clientX - offsetxpoint : window.innerWidth - a.clientX - offsetxpoint - 20,
            e = IE && !window.opera ? real_body.clientHeight - event.clientY - offsetypoint : window.innerHeight - a.clientY - offsetypoint - 20,
            f = 0 > offsetxpoint ? -1 * offsetxpoint : -1E3;
        current_tooltip = get_item("tooltip");
        current_tooltip.style.left = b < current_tooltip.offsetWidth ? IE ? real_body.scrollLeft + event.clientX - current_tooltip.offsetWidth + "px" : window.pageXOffset + a.clientX - current_tooltip.offsetWidth + "px" : c < f ? "5px" : c + offsetxpoint + "px";
        current_tooltip.style.top = e < current_tooltip.offsetHeight ? IE ? real_body.scrollTop + event.clientY - current_tooltip.offsetHeight - offsetypoint + "px" : window.pageYOffset + a.clientY - current_tooltip.offsetHeight - offsetypoint + "px" : d + offsetypoint + "px"
      }
      $("#recent_topics li a:first-child").mouseover(function() {
        show_tooltip(this, $(this).next().html())
      });
      $("#active_topics a, #viewed_topics a").mouseover(function() {
        show_tooltip(this, $(this).prev().text().replace(/(.*)\s-\s\d+.+/, "$1"));
      }).after(function() {
        return '<span class="lastRight">' + this.title.replace(/.*\s-\s(\d+.+)/, "$1") + '</span>'
      });
      $(".changeLast").change(function() {
        $(".half.group_" + $(this).data("group")).hide();
        $("#" + this.value).show();
      });
      //]]>
  </script>
</div>
{BOARD_INDEX}
<div id="sign_week"><center></center></div>
<!-- BEGIN disable_viewonline -->
<script>
  $(document).ready(function(){
var rdtOn = $('.rdtOn strong').html();
var lastUser = $('.lastUser strong').html();
var totalUser = $('.totalUser strong').html();
var totalPost = $('.totalPost strong').html();
 
 
$('ul.statsPers').prepend('
<li><span>'+totalPost+'</span> Total posts</li>
<li><span>'+totalUser+'</span> Total members</li>
<li><span>'+lastUser+'</span> Newest Member</li>
<li><span>'+rdtOn+'</span> Record users online</li>
');
 

});
</script>
 <div id="statistics">
                  <br />
                  <ul class="statsPers">
                    <li class="statHide rdtOn">Record users online: {RECORD_USERS}</li>
                    <li class="statHide lastUser">Newest Member: {NEWEST_USER}</li>
                    <li class="statHide totalUser">Members: {TOTAL_USERS}</li>
                    <li class="statHide totalPost">Posts: {TOTAL_POSTS}</li>
                  </ul>
              <br />
       
          </div>
<div id="pun-info" class="main">
  <div class="statistics_head">
</div>
   <div class="main-statistics">
      <div id="onlinelist">
         <img src="{L_ONLINE_IMG}" alt="{L_WHO_IS_ONLINE}" />
         <p class="right">
            <!-- BEGIN switch_viewonline_link -->
            <a href="{U_VIEWONLINE}" rel="nofollow">{L_WHO_IS_ONLINE}</a>
            <!-- END switch_viewonline_link -->
            <!-- BEGIN switch_viewonline_nolink -->
            {L_WHO_IS_ONLINE}
            <!-- END switch_viewonline_nolink -->
         </p>
         <p>{TOTAL_USERS_ONLINE}<br />
         {RECORD_USERS}

         <br />
         {LOGGED_IN_USER_LIST}
         {L_ONLINE_USERS}
         {L_CONNECTED_MEMBERS}<br />
         {L_WHOSBIRTHDAY_TODAY}{L_WHOSBIRTHDAY_WEEK}</p>
         <div class="clear"></div>
                 
         
      </div>
      <!-- BEGIN switch_chatbox_activate -->
      <div id="onlinechat">
         <p class="page-bottom">
         {TOTAL_CHATTERS_ONLINE}&nbsp;:&nbsp;
         {CHATTERS_LIST}
                          <br />
         <!-- BEGIN switch_chatbox_popup -->
            <div id="chatbox_popup"></div>
            <script type="text/javascript">
               insertChatBoxPopup('{disable_viewonline.switch_chatbox_activate.switch_chatbox_popup.U_FRAME_CHATBOX}', '{L_CLICK_TO_JOIN_CHAT}');
            </script>
         <!-- END switch_chatbox_popup -->
         </p>
      </div>
      <!-- END switch_chatbox_activate -->
   </div>
</div>
<!-- END disable_viewonline -->

<!-- BEGIN switch_user_login_form_footer -->
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
   <div class="user_login_form main-box center">
      <label><span class="genmed">{L_USERNAME} :</span> <input class="post" type="text" size="10" name="username"/></label> &nbsp;
      <label><span class="genmed">{L_PASSWORD} :</span> <input class="post" type="password" size="10" name="password"/></label> &nbsp;
      <label><span class="gensmall">{L_AUTO_LOGIN}</span> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label> &nbsp;
      {S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" />
      <!-- BEGIN switch_fb_connect -->
      <span class="genmed fb_or">{switch_user_login_form_footer.switch_fb_connect.L_OR}</span>
      <fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" scope="{switch_user_login_form_footer.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_footer.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button>
      <!-- END switch_fb_connect -->
   </div>
</form>
<!-- END switch_user_login_form_footer -->

{CHATBOX_BOTTOM}

<!-- BEGIN switch_legend -->
<ul id="pun-legend">
   <li>
      <img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}" />&nbsp;{L_NEW_POSTS}
      <img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" />&nbsp;{L_NO_NEW_POSTS}
      <img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" />&nbsp;{L_FORUM_LOCKED}
   </li>
</ul>
<!-- END switch_legend -->

{AUTO_DST}

<!-- BEGIN switch_fb_index_login -->
<div id="fb-root"></div>
<script type="text/javascript">
//<![CDATA[
FB.init({
   appId: '{switch_fb_index_login.FACEBOOK_APP_ID}',
    status: true,
    cookie: true,
    xfbml: true,
   oauth: true
});
//]]>
</script>
<!-- END switch_fb_index_login -->

Thank you kindly!

Powered by PunBB
Currently 0 users have thanked FrOsTyXi for this post:

10
Offline

  Van-Helsing

avatar
★Moderator★
★Moderator★
This template it seems ok, please check the index_box template if it have at the bottom of template if there is the code which I posted previously.

Powered by PunBB
Currently 0 users have thanked Van-Helsing for this post:

11
Offline

  FrOsTyXi

avatar
V.I.P. Member
V.I.P. Member
here is the snippet from the index_box, shall i paste in your snippet?

Code:
<!-- BEGIN switch_on_index -->
<div class="main-box clearfix">
   <ul>
      <li><a href="{U_TODAY_ACTIVE}">{L_TODAY_ACTIVE}</a></li>
      <li><a href="{U_TODAY_POSTERS}">{L_TODAY_POSTERS}</a></li>
      <li><a href="{U_OVERALL_POSTERS}">{L_OVERALL_POSTERS}</a></li>
   </ul>
   <!-- BEGIN switch_delete_cookies -->
   <p class="right">
      <a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a>
   </p>
   <!-- END switch_delete_cookies -->
</div>
<!-- END switch_on_index -->

Thanks again for your time and speedy replies!

Powered by PunBB
Currently 0 users have thanked FrOsTyXi for this post:

12
Offline

  Van-Helsing

avatar
★Moderator★
★Moderator★
@FrOsTyXi wrote:[link="/t889p10-request-a-code-of-this-forum#5969"]here is the snippet from the index_box, shall i paste in your snippet?

Code:
<!-- BEGIN switch_on_index -->
<div class="main-box clearfix">
   <ul>
      <li><a href="{U_TODAY_ACTIVE}">{L_TODAY_ACTIVE}</a></li>
      <li><a href="{U_TODAY_POSTERS}">{L_TODAY_POSTERS}</a></li>
      <li><a href="{U_OVERALL_POSTERS}">{L_OVERALL_POSTERS}</a></li>
   </ul>
   <!-- BEGIN switch_delete_cookies -->
   <p class="right">
      <a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a>
   </p>
   <!-- END switch_delete_cookies -->
</div>
<!-- END switch_on_index -->

Thanks again for your time and speedy replies!
Is this code in your index_box template at the bottom?
If it isn't add this code then save and publish your template/

Powered by PunBB
Currently 0 users have thanked Van-Helsing for this post:

13
Offline

  FrOsTyXi

avatar
V.I.P. Member
V.I.P. Member
Yes it is at the bottom of index_box but still no change on the delete cookies link, strange. I do have a hover over link size changer applied to forum links maybe that is holding the CSS back?

Powered by PunBB
Currently 0 users have thanked FrOsTyXi for this post:

14
Offline

  Van-Helsing

avatar
★Moderator★
★Moderator★
Do you want to make button the link "Delete Cookies"?

Powered by PunBB
Currently 0 users have thanked Van-Helsing for this post:

15
Offline

  FrOsTyXi

avatar
V.I.P. Member
V.I.P. Member
Yes that would be great!

Here is my forum link: http://www.team-psn.net/

Thank you!

Powered by PunBB
Currently 0 users have thanked FrOsTyXi for this post:

16
Offline

  Van-Helsing

avatar
★Moderator★
★Moderator★
[aviso="Thread Archived"]Original poster seems to be inactive and did not respond within 7 days in this thread. Because of this, the topic has been Archived.

If you have further questions, please open a new topic.[/aviso]

Powered by PunBB
Currently 0 users have thanked Van-Helsing for this post:

View previous topic View next topic Back to top Message [Page 1 of 1]


Topic URL's

URL
BBcode
HTML

Permissions in this forum:
You cannot reply to topics in this forum