Advertisement
-
Posts
1,035 -
Joined
-
Last visited
-
Days Won
71
Community Answers
-
Lock Down's post in Display link only for one group was marked as the answer
Try like this. 3 is the member group.. <if test="$this->memberData['member_group_id']==3"> <div class='block middle'> <h3>Moderation Tools</h3> <ul> <li><a href='FORUM NAME.com/index.php?app=core&module=modcp/'>Mod CP</a></li> </ul> </div> </if> -
Lock Down's post in IP.DOWNLOADS error please helpo was marked as the answer
because the rar is not set up as a valid mime type.
-
Lock Down's post in HIDE HOW ? was marked as the answer
in admin panel
Look & Feel > Manage Skin Sets & Templates > Manage Templates Board Index boardIndexTemplate find
<if test="showTotals:|:$this->settings['show_totals']"> <div id='board_stats'> change to
<if test="showTotals:|:$this->settings['show_totals']"> <div id='board_stats' style='display:none'> -
Lock Down's post in Display amount of members in groups was marked as the answer
Here is a hook I made for that purpose. It should be approved soon.
-
Lock Down's post in Email confirmation was marked as the answer
You can use port 25, 587, or 2525 if you're not encrypting the communication between your system and Mandrill or if you want to use the STARTTLS extension (also known as TLS encryption).
SSL is supported on port 465.
ISPs may redirect traffic on certain ports, so it's up to you which port you use. It's just a matter of what you prefer and what works for you.
-
Lock Down's post in Limit posts for new users was marked as the answer
None at the moment. You would have to request someone to write one or get the other one and hope someone modifies it for you.
-
Lock Down's post in Unexpected Character Error was marked as the answer
You would be better off setting up wamp or xampp on your home computer than trying this new version on a free server. They have too many restrictions.
-
Lock Down's post in Google site site description was marked as the answer
Go to the admin panel seo and fill in the meta descriptions.
Board Index Board index page title Specify the title to use for the forum index page. If left blank, the "Community name" setting will be used Meta description Specify the meta description you would like to use on the board index Meta keywords Specify the meta keywords you would like to use on the board index -
Lock Down's post in Images behind forums was marked as the answer
You did something wrong with the layout. Check your pm.
-
Lock Down's post in Weight Loss Ticker script? was marked as the answer
Try this one. All you would have to do is change the style if you don't like those.
http://cssdeck.com/labs/percentage-bar -
Lock Down's post in rss help was marked as the answer
The answer is no if you use the standard rss import for IPB. It reads exactly what the .xml or .rss file has int it.
You can however, if you can write php code, add a routine to go to the article link and extract the full article.
I have not seen a hook yet created to do this.
-
Lock Down's post in Forum Icons bug? was marked as the answer
All fixed.
There was a malformed < a href line
-
Lock Down's post in 404 Error was marked as the answer
I have looked at it and I think it is due to cloudfare. Do you have cloudfare handling 404? Maybe amrt errors.
OK the removing of the smart errors for cloudfare fixed that screen. Now just add read topic to guest permissions for the forums you want them to read.
-
Lock Down's post in signature & avatar was marked as the answer
Answered but that is totally a different subject. If you don't get my answer start a new topic.
find this
<if test="postSignature:|:$post['post']['signature']"> {$post['post']['signature']} </if> change to something like this
<div class="signature" data-memberid="{$post['post']['member_id']}"> <if test="groupSignature:|:in_array($post['post']['member_group_id'],array(4,6))"> <h1> I am an administrator </h1> </if> <if test="groupSignature:|:in_array($post['post']['member_group_id'],array(7))"> <h1> I am a moderator </h1> </if> </div> For the avatar question
<!-- **************** below is the old code. remove it. ************** --> <if test="avatar:|:$author['member_id']"> <li class='avatar'> <if test="canSeeProfiles:|:$this->memberData['g_is_supmod'] OR ( $this->memberData['g_mem_info'] && ! IPSMember::isInactive( $author ) )"> <a itemprop="url" href="{parse url="showuser={$author['member_id']}" template="showuser" seotitle="{$author['members_seo_name']}" base="public"}" title="{$this->lang->words['view_profile']}: {$author['members_display_name']}" class='ipsUserPhotoLink'> </if> <if test="hasVariable:|:$this->settings['member_topic_avatar_max']"> <img itemprop="image" src='{$author['pp_main_photo']}' class='ipsUserPhoto ipsUserPhoto_variable' /> <else /> <img itemprop="image" src='{$author['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_large' /> </if> <if test="canSeeProfiles2:|:$this->memberData['g_is_supmod'] OR ( $this->memberData['g_mem_info'] && ! IPSMember::isInactive( $author ) )"> </a> </if> </li> <else /> <li class='avatar'> <img itemprop="image" src='{$author['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_large' /> </li> </if> <!-- **************** below is the new code ************** --> <li class='avatar'> <img itemprop="image" src='{$this->settings['upload_url']}/group{$author['member_group_id']}.jpg' class='ipsUserPhoto ipsUserPhoto_large' /> </li> -
Lock Down's post in Forum Issues (Database) was marked as the answer
Your backup was incomplete. Rebuilt the topics and everything is showing. The topic titles and forum id was not available from posts so you will need to edit those manually.
-
Lock Down's post in There appears to be an error with the database. was marked as the answer
Here is the problem. The comma can not be the last thing. It has to be a number.
Did you add any new apps or hooks? If not it must have been the way you did the groups the second time.
It may be only a restore of the admin_permission_rows, members and groups tables will fix it.
PS don't just listen to your friends. Be sure to check the actual errors in the logs sql errors in the admin panel before doing anything.
Also a backup before making any changes to you forum is a good thing to have available.
-
Lock Down's post in IP.Downloads Files Numbers was marked as the answer
edit template
Downloads) Download Manager > downloadsPortal find
<if test="showSubCatsLit:|:$link['new']"><li class='newposts'><else /><li></if> add this after it
<span style="font-size: 9px;padding: 1px 3px;margin-right: 9px; font-weight: bold;color: #797979; background: #e7e7e7;float:right;-moz-border-radius: 3px;-webkit-border-radius: 3px;border-radius: 3px;">{parse format_number="$link['cfileinfo']['total_files']"}</span> -
Lock Down's post in postbit style was marked as the answer
Show what you have for that in the userinfopane template. Usually it is as simple as changing this
<li class='post_count desc lighter'> {parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"} {$this->lang->words['m_posts']} </li> to this
<li class='post_count desc lighter'> <span class="ft" style="float:right">{$this->lang->words['m_posts']}</span><span class="fc" style="float:left">{parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"}</span> </li> -
Lock Down's post in IP.Nexus 1.5.9 ioncube - bug was marked as the answer
it is saying the ip.nexus version is encoded for php 5.0 and you have php 5.5, So you have to get the updated ip.nexus or remove the php 5.5 and install php 5.0
-
Lock Down's post in Merge member .. was marked as the answer
Well he had at least 2914 according to you. So run this command and change the command from 2914 to what ever you want it to be.
update ipb_members set posts=2914 where member_id=10197;
PS Do you allow guests to post? If you did not delete any other members all those posts must be his.
-
Lock Down's post in file upload skipped 413 was marked as the answer
That is telling you the file is too large. Check the size of the file and check your admin panel > support > diagnostics > overview
click the words PHP INFO . Search for upload_max_filesize
-
Lock Down's post in Recent Status Update Help was marked as the answer
You should have told me that to start .. Try this one.
<?php if ( ! $this->registry->isClassLoaded( 'members_hookGateway' ) ) { $classToLoad = IPSLib::loadLibrary( IPSLib::getAppDir( 'members' ) . '/sources/classes/hooks/gateway.php', 'members_hookGateway', 'members' ); $this->hookGateway = new $classToLoad( $registry ); } print $this->hookGateway->statusUpdates(); ?> -
Lock Down's post in Other Articles By Author Help was marked as the answer
It means he has no php experience at all.
Here is his while.
<if test="is_array( $records ) && count( $records )"> <div class='ipsSideBlock clearfix' id='recent_articles'> <h3>{$title}</h3> <ul class='block_list'> <foreach loop="$records as $r"> <php>$likeRecs = array(); ipsRegistry::DB()->build(array('select' => 'field_1 as title, field_3 as content, record_updated as date, record_dynamic_url as url', 'from' => 'ccs_custom_database_1', 'where' => 'member_id='.$r['member_id'].' and post_key != "'.$r['post_key'].'"')); $rnew = ipsRegistry::DB()->execute(); while( $rlikes = ipsRegistry::DB()->fetch($rnew) ) // Below is the while he wants { // whatever he wants goes in here } // Above is the while he wants </php> <li> <a href='{$r['url']}'>{parse expression="IPSText::truncate( $r['field_1_value'], 30 )"}</a> </li> </foreach> </ul> </div> <br /> </if> -
Lock Down's post in IP Downloads >> Top Downloads & Authors "All Time" was marked as the answer
look in the template
(Downloads) Download Manager portalSidebarBlock Click the variables tab on the right and make sure this is there. If it does not have all change it to all and try it.
$menutype='all'
You also have to remember if the member has chosen something different it will remain in the cookies.
So try clearing out the cookies and cache after making the change.
-
Lock Down's post in Add Skype to Menu Profile was marked as the answer
In admin panel > Members > Custom Profile Fields
find the skype icon and click the pencil on right. and fill out these fields
Include on registration page? Yes If 'yes', the field will be shown upon registration. Field MUST be completed and not left empty? Yes If 'yes', an error will be shown if this field is not completed. Field can be edited by the member? Yes If 'no', the member cannot edit the field but Super Moderators and Admins will be able to. Make this a private profile field? No If yes, field only visible to profile owner, super moderators and admins. If 'no', members can search within this field. Make Admin and Super Moderator Editable/Viewable Only? No If yes, will override the above options so only admins and super moderators can see and edit this field. If enabled, the field will not show on the registration form! Topic View Format? <span class='row_data'><img src='imgs/{key}'></span> </span><span class='row_data'>{content}</span> Leave blank if you do not wish to add this field in the author details when viewing a topic. {title} is the title of the custom field, {content} is the user added content. {key} is the form select value of the selected item in a dropdown box. Example: <span class='row_title'>{title}:</span><span class='row_data'>{content}</span> Example: <span class='row_title'>{title}:</span><span class='row_data'><img src='imgs/{key}'></span>