Перейти к содержанию

asterix

Пользователи
  • Постов

    25
  • Зарегистрирован

  • Посещение

Сообщения, опубликованные asterix

  1. в общем результат получился хоть и через одно место...

    формат адреса строки которая вставляется на форум:

    http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=54.593457,+35.937020

    Координаты вставляются из гугла.

    нашел инструкцию по BB коду:

    bbcode usage:

    [googlemap]{URL}[/googlemap]


    HTML replacement:

    <iframe width="400" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="{URL}&amp;output=embed"></iframe>

    Help

    Googlemap: [googlemap]user's google map link[/googlemap]

    Example:

    [googlemap]http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=Michigan+Lane,+Goodview,+MN&sll=43.995778,-92.480164&sspn=0.477168,0.883026&ie=UTF8&hq=&hnear=Michigan+Ln,+Goodview,+Winona,+Minnesota+55987&t=h&z=16[/googlemap]

    почему то вариант адреса проходит, и на форуме вставляется окно гугл карты.

    http://maps.google.com/maps

    как заполучить вариант:

    https://maps.google.com/maps?q=201+S+Grant+Ave,+Columbus,+OH

    тоже открывает карту но как добиться результата с русским языком, не нашел, так же как и с координатами.  Может у кого то получится.

    Хотел встроить BB Yandex карты - но есть только один вариант и для чего он, мне не понятен, в ручную забивать точки

  2. Привет. приглянулась тема BlueGiant  но она для версии 3.3
    установил на 3.4.6 встала, но  по причине отсутствия поддержки или разработчик приказал долго жить он работает на половину.
    скажем админские и модераторские функции не работают - удаление, перенос и что то еще  с постами, On или OFF  пользователь...

    в общем вопрос такой как его прикрутить на 3.4.6?

  3. Хотелось бы придумать свой стиль, есть темы похожие но все не то и все не так.. на форуме сложились 2 направления кто юзает стандартный  белый стиль и есть те кому подавай сине на синем...  BlueGiant

    нужен компромисс. или уникальный синий.  вопросы в личку.

  4. Доброго дня

    суть задачи:

    необходимо выводить видео с канала youtube с боку, в случайном порядке.  на канале более 300 роликов, необходимо их показывать на форуме. при  обновлении страницы новое видео.

    версия ipb 3.4.6.
     

  5. <div class="user_block">
         <div class="psevdo"></div>
    <if test="membertitle:|:$author['member_title']">
    <p class='desc member_title'>{$author['member_title']}</p>
            </if>
        </div>
            
        <if test="avatar:|:$author['member_id']">
                <div 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>
                </div>
            <else />
                
            </if>
    
            <if test="rankimage:|:$author['member_rank_img']">
                <div class='group_icon'>
                <if test="rankimageimage:|:$author['member_rank_img_i'] == 'img'">
                    <img src='{$author['member_rank_img']}' alt='' />
                <else />
                    {$author['member_rank_img']}
                </if>
                </div>
            </if>
            <br>
    
    <!-- REPUTATION BAR -->
    <if test="cardRep:|:$this->settings['reputation_enabled'] && $this->settings['reputation_show_profile']">
    <div class="reputation-bg" data-tooltip="Репутация: {$author['pp_reputation_points']}">
    <div class="reputation-bar
    <!-- GREY BAR -->
    <if test="$author['pp_reputation_points']==0">gray</if>
    <!-- /GREY BAR -->
    
    <!-- RED BARS -->
    <if test="$author['pp_reputation_points']<0 && $author['pp_reputation_points']>=-15">red width20</if>
    <if test="$author['pp_reputation_points']<-15 && $author['pp_reputation_points']>=-30">red width40</if>
    <if test="$author['pp_reputation_points']<-30 && $author['pp_reputation_points']>=-45">red width60</if>
    <if test="$author['pp_reputation_points']<-45 && $author['pp_reputation_points']>=-60">red width80</if>
    <if test="$author['pp_reputation_points']<-60">red</if>
    <!-- /RED BAR -->
    
    <!-- BLUE BARS -->
    <if test="$author['pp_reputation_points']>=1 && $author['pp_reputation_points']<=10">blue width20</if>
    <if test="$author['pp_reputation_points']>10 && $author['pp_reputation_points']<=20">blue width40</if>
    <if test="$author['pp_reputation_points']>20 && $author['pp_reputation_points']<=30">blue width60</if>
    <if test="$author['pp_reputation_points']>30 && $author['pp_reputation_points']<=40">blue width80</if>
    <if test="$author['pp_reputation_points']>40 && $author['pp_reputation_points']<=50">blue</if>
    <!-- /BLUE BARS -->
    
    <!-- GREEN BARS -->
    <if test="$author['pp_reputation_points']>50 && $author['pp_reputation_points']<=70">green width20</if>
    <if test="$author['pp_reputation_points']>70 && $author['pp_reputation_points']<=90">green width40</if>
    <if test="$author['pp_reputation_points']>90 && $author['pp_reputation_points']<=110">green width60</if>
    <if test="$author['pp_reputation_points']>110 && $author['pp_reputation_points']<=130">green width80</if>
    <if test="$author['pp_reputation_points']>130 && $author['pp_reputation_points']<=150">green</if>
    <!-- /GREEN BARS -->
    
    <!-- GOLD BARS -->
    <if test="$author['pp_reputation_points']>150 && $author['pp_reputation_points']<=190">gold width20</if>
    <if test="$author['pp_reputation_points']>190 && $author['pp_reputation_points']<=230">gold width40</if>
    <if test="$author['pp_reputation_points']>230 && $author['pp_reputation_points']<=270">gold width60</if>
    <if test="$author['pp_reputation_points']>270 && $author['pp_reputation_points']<=310">gold width80</if>
    <if test="$author['pp_reputation_points']>310">gold</if>
    <!-- /GOLD BARS -->
    ">
    {$author['pp_reputation_points']}
    </div>
    </div>
    </if>
    <!-- /REPUTATION BAR -->
    
        <div class="wa-block">
            <div class="psevdo"></div>
            Сообщений:
            <div class="u-mini">
                 {parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"} 
            </div>
        </div>
    
    <div class="wa-block">
            <div class="psevdo"></div>
    
     <img src='{$this->settings['img_url']}/warn.png'> Предупреждения:
            <div class="u-mini">
                 <a href='{parse url="app=members&module=profile&section=warnings&member={$author['member_id']}&from_app={$this->request['app']}&from_id1={$contentid}&from_id2={$options['id2']}" base="public"}' id='warn_link_{$contentid}_{$author['member_id']}' title='{$this->lang->words['warn_view_history']}'>{parse expression="sprintf( $this->lang->words['warns_status'], $author['warn_level'] )"}</a> 
            </div>
        </div>
        
        <if test="authorcfields:|:$author['custom_fields'] != """>        
            <foreach loop="customFieldsOuter:$author['custom_fields'] as $group => $data">
                <foreach loop="customFields:$author['custom_fields'][ $group ] as $field">
                    <if test="$field != ''">
                            
                        {$field}
                            
                    </if>
                </foreach>
            </foreach>
        </if>

    Это код который изменил ... как на картинке :)

  6. Сделал переезд с форума 2.3.6 на 3.4.6

    все прошло в штатном режиме, как вернуть пользователям "спасибо" ?

    перенести таблицу из старой базы на новую, или есть другие варианты? если так то какая таблица за это отвечает.

    на новый форум поставил мод EN34 Ajax Thanks v1.0.8.zip

    и еще один вопрос: какой прописать код что бы вывести спасибо под аватаркой, внес изменения как на картинке.

     

    b72f3-clip-13kb.jpg

  7. Случилось, правда не понятно, что...

    вчера не смог ответить на данный комментарий, а сегодня кнопка появилась!

    и так суть:

    1 пробовал отменить

    2 пробовал указать доп поля

    и что самое интересное если с пользователем в переписке - (личной) - то поля то видны, а вот на самом форуме при просмотре тем - нет ничего.

    вопрос остается актуален: как показать доп поля на форуме.

    419a8-clip-11kb.jpg

    dd074-clip-14kb.jpg

  8. Доброго!

    Суть вопроса не выводится информация дополнительных полей под аватаром. версия 3.4.6

    пробовал все и код, и разные версии, и оформление, где то даже нашел полную инструкцию с заменой  userInfoPane, разные скины, все одно выводится только

    3 надписи:

    9423c-clip-7kb.thumb.png.6175c560304b6b8

    сам код.

    <div itemscope itemtype="http://schema.org/Person" class='user_details'>
    	<span class='hide' itemprop="name">{$author['members_display_name']}</span>
    	<ul class='basic_info'>
    		<if test="membertitle:|:$author['member_title']">
    			<p class='desc member_title'>{$author['member_title']}</p>
    		</if>
    		<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>
    		<li class='group_title'>
    			{$author['_group_formatted']}
    		</li>
    		<if test="rankimage:|:$author['member_rank_img']">
    			<li class='group_icon'>
    			<if test="rankimageimage:|:$author['member_rank_img_i'] == 'img'">
    				<img src='{$author['member_rank_img']}' alt='' />
    			<else />
    				{$author['member_rank_img']}
    			</if>
    			</li>
    		</if>
    		<if test="postCount:|:$author['member_id']">
    		<li class='post_count desc lighter'>
    			{parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"} {$this->lang->words['m_posts']}
    		</li>
    		</if>
    		<if test="authorwarn:|:$author['show_warn']">
    			<li>
    				<if test="hasWarningId:|:$options['wl_id']">
    					<img src='{$this->settings['img_url']}/warn.png' class='clickable' onclick='warningPopup( this, {$options['wl_id']} )' title='{$this->lang->words['warnings_issued']}' />
    				</if>
    				<a class='desc lighter blend_links' href='{parse url="app=members&amp;module=profile&amp;section=warnings&amp;member={$author['member_id']}&amp;from_app={$this->request['app']}&amp;from_id1={$contentid}&amp;from_id2={$options['id2']}" base="public"}' id='warn_link_{$contentid}_{$author['member_id']}' title='{$this->lang->words['warn_view_history']}'>{parse expression="sprintf( $this->lang->words['warn_status'], $author['warn_level'] )"}</a>
    			</li>
    		</if>
    	</ul>
    	
    	<if test="authorcfields:|:$author['custom_fields'] != """>
    		<ul class='custom_fields'>
    			<foreach loop="customFieldsOuter:$author['custom_fields'] as $group => $data">
    				<foreach loop="customFields:$author['custom_fields'][ $group ] as $field">
    					<if test="$field != ''">
    						<li>
    							{$field}
    						</li>
    					</if>
    				</foreach>
    			</foreach>
    		</ul>
    	</if>
    	
    </div>

    в общем чего делать?

  9. и еще одни самый гадский глюк у меня был мост Joomla +IPb на версии 5.2, включил модуль  .dom и мускул сам обновился на 5.3 теперь придется в обязательном порядке переезжать на новый движек, так как мост не работает на 5.3 :(
    а хотел всего лишь тестовый вариант запустить и настроить, а потом переключить...

  10. Блин, неужто все так обленились, то трудно нажать на "Поиск"?

     

    да вот с поиском как то труба...

    уже 2 версии обновления видел здесь в теме и на null

    причем скачал архив 3.4.6 нуленый, залил на 2.3.6 и  по инструкции через пол часа получил рабочий форум, с темати и т.д.

    единственное это глюк кодировок, поставил русский из файла, и везде появились вопросы, хотя настройки chmod как и прописано установил. Скачал нул 3.4.6 с этого ресурса - установка и инструкции на русском, но вот дальше шарманка не пошла 2 разные ошибки выскакивали с разными версиями нула:

    1 нет таблицы какой то...
    2 это ошибка в драйвере, и отказе делать дальше...

    вот думаю чего же делать...

    идти обновлять как было выше написано 2.3.6 --> 3.0.5 --> 3.1.4 --> 3.2.3 -->3.3.4 --> 3.4.4 или сразу...

×
×
  • Создать...