vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - Username HTML Markup 4.2.x (https://vborg.vbsupport.ru/showthread.php?t=229146)

Superorb 09-11-2012 01:03 AM

Quote:

Originally Posted by Syxguns (Post 2364478)
I made code changes to several areas of threadbit and search_threadbit, and have not been successful with removing the mouse over effect. So you are left to disable the mod, if it annoys you and hope that there will be an update for it, or continue to use it despite the mouse over effect.

I worked with another on trying to change the effect the mod was having but we have not been successful. :(

Well, I do appreciate the effort. I wish the original author would help us out though.

Syxguns 09-11-2012 01:28 AM

Superorb,
I don't this this mod is going to be updated. Go to Styles & Templates > Search in Templates and type "search_threadbit"

There is one item that I removed from mine, and a line that I added. Here is the new code:

Code:

<vb:if condition="$show['below_unread'] > 0">
        <li class="threadbit">
                <div class="icon0 rating0 nonsticky">
                        <div id="below_unread">
                                <vb:if condition="$show['below_unread'] == 1">
                                        {vb:rawphrase all_threads_below_here_unread}
                                <vb:else />
                                        {vb:rawphrase all_threads_below_here}
                                </vb:if>
                        </div>
                </div>
        </li>
</vb:if>
<li class="imodselector threadbit {vb:if !$thread['del_username'], $thread['statusstring']} <vb:if condition="$thread['title_editable']">title_editable</vb:if>" id="thread_{vb:raw thread.realthreadid}" title="{vb:raw thread.preview}">
        <div class="icon{vb:raw thread.threadiconid} rating{vb:raw thread.rating}<vb:if condition="$thread['sticky']"> sticky<vb:else /> nonsticky</vb:if>{vb:if $thread['del_username'], ' deleted'}">
                <div class="threadinfo thread">
                        <!--  status icon block -->
                        <a class="threadstatus" rel="vB::AJAX" <vb:if condition="$show['threadcount']">title="{vb:rawphrase have_x_posts_in_thread_last_y, {vb:raw thread.dot_count}, {vb:raw thread.dot_lastpost}}"</vb:if>></a>

                        <!-- title / author block -->
                        <div class="inner">
                                <h3 class="searchtitle">
                               
                                        <vb:if condition="$show['gotonewpost']"><a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_newpost}, 'threadid', 'threadtitle'}" id="thread_gotonew_{vb:raw thread.realthreadid}"><img class="gotonewpost" src="{vb:stylevar imgdir_button}/firstnew.png" alt="{vb:rawphrase go_to_first_new_post}" /></a>
                                        </vb:if>
                                               
                                        <vb:if condition="$thread['sticky']">
                                                <img src="{vb:stylevar imgdir_misc}/sticky.gif" alt="{vb:rawphrase sticky_thread}" />
                                        </vb:if>

                                        <vb:if condition="$thread['movedprefix'] OR $thread['typeprefix'] OR $thread['moderatedprefix'] OR $thread['prefix_rich']">
                                                <span id="thread_prefix_{vb:raw thread.realthreadid}" class="prefix understate">
                                                        {vb:raw thread.movedprefix}
                                                        {vb:raw thread.typeprefix}
                                                        {vb:raw thread.moderatedprefix}
                                                        {vb:raw thread.prefix_rich}
                                                </span>
                                        </vb:if>
                                        <a class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw thread.realthreadid}" title="{vb:raw thread.preview}">{vb:raw thread.threadtitle}</a>
                                </h3>
                                               

                                <div class="threadmeta">
                                        <div class="author">
                                                {vb:rawphrase started_by_x_y_z_a, {vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}, {vb:raw thread.postusername}, {vb:raw thread.startdate}, {vb:raw thread.starttime}, {vb:stylevar dirmark}}
                                                <vb:if condition="$show['unsubscribe']">
                                                        &nbsp; <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newreply.php?{vb:raw session.sessionurl}do=newreply&amp;t={vb:raw thread.threadid}" rel="nofollow">{vb:rawphrase reply}</a>
                                                        | <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;return=ucp&amp;t={vb:raw thread.threadid}" rel="nofollow">{vb:rawphrase unsubscribe}</a>
                                                </vb:if>
                                                <vb:if condition="$thread['pagenav']">
                                                        <dl class="pagination" id="pagination_threadbit_{vb:raw thread.realthreadid}">
                                                                <dt class="label">{vb:raw thread.totalpages} {vb:rawphrase pages} <span class="separator">&bull;</span></dt>
                                                                <dd>
                                                                                {vb:raw thread.pagenav}
                                                                                <vb:if condition="$show['pagenavmore']"> <span class="separator">...</span> <span><a href="{vb:raw thread.lastpagelink}">{vb:raw thread.totalpages}</a></span></vb:if>
                                                                </dd>
                                                        </dl>
                                                </vb:if>
                                                <!-- iconinfo -->
                                                <div class="threaddetails td">
                                                        <div class="threaddetailicons">
                                                                <vb:if condition="$show['taglist']">
                                                                        <img src="{vb:stylevar imgdir_misc}/tag.png" alt="{vb:raw thread.taglist}" />
                                                                </vb:if>
                                                                <vb:if condition="$show['rexpires']">
                                                                        <img src="{vb:stylevar imgdir_misc}/expires.gif" alt="{vb:rawphrase expires_on_x_y, {vb:raw thread.expiredate}, {vb:raw thread.expiretime}}" />
                                                                </vb:if>
                                                                <vb:if condition="$show['moderated']">
                                                                        <img src="{vb:stylevar imgdir_misc}/moderated_small.gif" alt="{vb:rawphrase x_moderated_posts, {vb:raw thread.hiddencount}}" />
                                                                </vb:if>
                                                                <vb:if condition="$show['deletedthread']">
                                                                        <img src="{vb:stylevar imgdir_misc}/trashcan_small.gif" alt="{vb:rawphrase x_deleted_posts, {vb:raw thread.deletedcount}}" />
                                                                </vb:if>
                                                                <vb:if condition="$show['paperclip']">
                                                                        <a href="javascript://" onclick="attachments({vb:raw thread.threadid}); return false"> <img src="{vb:stylevar imgdir_misc}/paperclip.png" border="0" alt="{vb:rawphrase x_attachments, {vb:raw thread.attach}}" /></a>
                                                                </vb:if>
                                                                <vb:if condition="$thread['issubscribed']">
                                                                        <img src="{vb:stylevar imgdir_misc}/subscribed.png" alt="{vb:rawphrase you_are_subscribed_to_this_thread}" />
                                                                </vb:if>
                                                        </div>
                                                </div>
                                        </div>
                                        <vb:if condition="$show['managethread'] && $thread['del_username']">
                                        <ul class="managethread">
                                                <li class="rmanage"><a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}postings.php?{vb:raw session.sessionurl}do=editthread&amp;t={vb:raw thread.threadid}">{vb:rawphrase manage}</a></li>
                                        </ul>
                                        </vb:if>
                                </div>

                        </div>               
                </div>

                <!-- threadstats -->
                <vb:if condition="!$show['notificationtype'] && !$thread['del_username']">
                <ul class="threadstats td alt" title="<vb:if condition="$thread['dot_count'] > 0">{vb:rawphrase have_x_posts_in_thread_last_y, {vb:raw thread.dot_count}, {vb:raw thread.dot_lastpost}}</vb:if>">
                        <li>{vb:rawphrase replies}: <a class="understate" href="misc.php?do=whoposted&amp;t={vb:raw thread.threadid}" onclick="who({vb:raw thread.threadid}); return false;">{vb:raw thread.replycount}</a></li>
                        <li>{vb:rawphrase views}: {vb:raw thread.views}</li>
                </ul>
                </vb:if>
                <vb:if condition="$thread['del_username']">
                <!-- deleted by -->
                <div class="threaddeleted td">
                        <div class="inner">
                                <div class="deletedby">
                                        {vb:rawphrase thread_deleted_by_x, {vb:link member, {vb:raw thread}, null, 'del_userid', 'del_username'}, {vb:raw thread.del_username}}
                                </div>

                                <vb:if condition="$show['deletereason']">
                                        <dl class="stats deletereason">
                                                <dt class="reason">{vb:rawphrase reason}</dt>
                                                <dd class="reason"> &nbsp;{vb:raw thread.del_reason}</dd>
                                        </dl>
                                </vb:if>
                        </div>
                </div>
                <vb:else />
                <!-- lastpost -->
                <dl class="threadlastpost td">
                        <dt class="lastpostby hidden">{vb:rawphrase last_post_by}:</dt>
                        <dd>{vb:rawphrase last_post}: {vb:raw thread.lastpostdate} <span class="time">{vb:raw thread.lastposttime}</span></dd>
                        <dd>
                        <vb:if condition="$thread['lastposterid']">
                                {vb:rawphrase by_x, {vb:link member, {vb:raw thread}, null, 'lastposterid', 'lastposter'}, {vb:raw thread.lastposter}}
                        <vb:else />
                                {vb:rawphrase by_x_guest , {vb:raw thread.lastposter}}
                        </vb:if>
 &nbsp;<a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_lastpost}, 'threadid', 'threadtitle'}#post{vb:raw thread.lastpostid}"><img src="{vb:stylevar imgdir_button}/lastpost-{vb:stylevar right}.png" alt="{vb:rawphrase go_to_last_post}" /></a>
                        </dd>
                </dl>
                </vb:if>

                <div class="threadpostedin td alt">
                        <p>
                                {vb:rawphrase forum}:<br /><a href="{vb:link forum, {vb:raw thread}, null, 'forumid', 'forumtitle'}" title="{vb:raw thread.forumtitleclean}">{vb:raw thread.forumtitle}</a>
                        </p>
                       
                </div>

                <vb:if condition="$show['notificationtype']">
                <!--  notification -->
                <div class="threadnotification td">
                        <label for="thread_imod_checkbox_{vb:raw thread.realthreadid}">{vb:raw thread.notification}</label>
                </div>
                <label class="threadimod td">
                        <input type="checkbox" name="deletebox[{vb:raw subscribethread.$threadid}]" id="thread_imod_checkbox_{vb:raw thread.realthreadid}" value="yes" />
                </label>
                </vb:if>

                <vb:if condition="$show['inlinemod']">
                <!-- fourth block -->
                <label class="threadimod">
                        <input type="checkbox" id="thread_imod_checkbox_{vb:raw thread.realthreadid}" name="imodcheck[{vb:raw thread.realthreadid}]" />
                </label>
                </vb:if>

        </div>
</li>

Now search threadbit and open that. You will see it under "Threadbit Templates". I remvoed one line of text in it:

Code:

<li class="threadbit {vb:raw thread.statusstring}<vb:if condition="$thread['title_editable']"> title_editable</vb:if><vb:if condition="$show['paperclip']"> attachments</vb:if><vb:if condition="!$thread['postuserid'] AND !$thread['del_userid']"> guest</vb:if><vb:if condition="$thread['moderatedprefix']"> unapproved</vb:if>" id="thread_{vb:raw thread.realthreadid}">
        <div class="rating{vb:raw thread.rating}<vb:if condition="$thread['sticky']"> sticky<vb:else /> nonsticky</vb:if>">
                <div class="threadinfo" title="{vb:raw thread.preview}">
                        <!--  status icon block -->
                        <a class="threadstatus" rel="vB::AJAX" <vb:if condition="$show['threadcount']">title="{vb:rawphrase have_x_posts_in_thread_last_y, {vb:raw thread.dot_count}, {vb:raw thread.dot_lastpost}}"</vb:if>></a>

                        <!-- title / author block -->
                        <div class="inner">
                                <h3 class="threadtitle">
                    <vb:if condition="$show['gotonewpost']"><a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_newpost}, 'threadid', 'threadtitle'}" id="thread_gotonew_{vb:raw thread.realthreadid}"><img class="gotonewpost" src="{vb:stylevar imgdir_button}/firstnew.png" alt="{vb:rawphrase go_to_first_new_post}" /></a>
                                        </vb:if>       

                    <vb:if condition="$show['threadicon']">
                            <img src="{vb:raw thread.threadiconpath}" alt="{vb:raw thread.threadicontitle}" border="0" />
                    </vb:if>

                                        <vb:if condition="$thread['sticky']">
                                                <img src="{vb:stylevar imgdir_misc}/sticky.gif" alt="{vb:rawphrase sticky_thread}" />
                                        </vb:if>
                                       
                                        <vb:if condition="$thread['movedprefix'] OR $thread['typeprefix'] OR $thread['moderatedprefix'] OR $thread['prefix_rich']">
                                                <span id="thread_prefix_{vb:raw thread.realthreadid}" class="prefix understate">
                                                        {vb:raw thread.movedprefix}
                                                        {vb:raw thread.typeprefix}
                                                        {vb:raw thread.moderatedprefix}
                                                        {vb:raw thread.prefix_rich}
                                                </span>
                                        </vb:if>
                        <a class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw thread.realthreadid}">{vb:raw thread.threadtitle}</a>
                                </h3>

                                <div class="threadmeta">                               
                                        <div class="author">
                                                <vb:if condition="$show['rmanage']">
                                                        <span class="rmanage"><a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}postings.php?{vb:raw session.sessionurl}do=editthread&amp;t={vb:raw thread.redirectthreadid}">{vb:rawphrase manage}</a></span>
                                                </vb:if>                                               
                                                <vb:if condition="!$show['detailedtime']">
                                                        {vb:rawphrase started_by_x_y_z_a, {vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}, {vb:raw thread.postusername}, {vb:raw thread.startdate}, {vb:raw thread.starttime}, {vb:stylevar dirmark}}
                                                <vb:else />
                                                        {vb:rawphrase started_by_x_y_z, {vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}, {vb:raw thread.postusername}, {vb:raw thread.startdate}, {vb:stylevar dirmark}}
                                                </vb:if>
                                                <vb:if condition="$show['unsubscribe']">
                                                        &nbsp; <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newreply.php?{vb:raw session.sessionurl}do=newreply&amp;t={vb:raw thread.threadid}" rel="nofollow">{vb:rawphrase reply}</a>
                                                        | <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;return=ucp&amp;t={vb:raw thread.threadid}" rel="nofollow">{vb:rawphrase unsubscribe}</a>
                                                </vb:if>
                                                <vb:if condition="$thread['pagenav']">
                                                        <dl class="pagination" id="pagination_threadbit_{vb:raw thread.realthreadid}">
                                                                <dt class="label">{vb:raw thread.totalpages} {vb:rawphrase pages} <span class="separator">&bull;</span></dt>
                                                                <dd>
                                                                        {vb:raw thread.pagenav}
                                                                        <vb:if condition="$show['pagenavmore']"> <span class="separator">...</span> <span><a href="{vb:raw thread.lastpagelink}">{vb:raw thread.totalpages}</a></span></vb:if>
                                                                </dd>
                                                        </dl>
                                                </vb:if>
                                                <!-- iconinfo -->
                                                <div class="threaddetails td">
                                                        <div class="threaddetailicons">
                                                                <vb:if condition="$show['taglist']">
                                                                        <img src="{vb:stylevar imgdir_misc}/tag.png" alt="{vb:raw thread.taglist}" />
                                                                </vb:if>
                                                                <vb:if condition="$show['rexpires']">
                                                                        <img src="{vb:stylevar imgdir_misc}/expires.gif" alt="{vb:rawphrase expires_on_x_y, {vb:raw thread.expiredate}, {vb:raw thread.expiretime}}" />
                                                                </vb:if>
                                                                <vb:if condition="$show['moderated']">
                                                                        <img src="{vb:stylevar imgdir_misc}/moderated_small.gif" alt="{vb:rawphrase x_moderated_posts, {vb:raw thread.hiddencount}}" />
                                                                </vb:if>
                                                                <vb:if condition="$show['deletedthread']">
                                                                        <img src="{vb:stylevar imgdir_misc}/trashcan_small.gif" alt="{vb:rawphrase x_deleted_posts, {vb:raw thread.deletedcount}}" />
                                                                </vb:if>
                                                                <vb:if condition="$show['paperclip']">
                                                                        <a href="javascript://" onclick="attachments({vb:raw thread.threadid}); return false"> <img src="{vb:stylevar imgdir_misc}/paperclip.png" border="0" alt="{vb:rawphrase x_attachments, {vb:raw thread.attach}}" /></a>
                                                                </vb:if>
                                                                <vb:if condition="$show['subscribed']">
                                                                        <img src="{vb:stylevar imgdir_misc}/subscribed.png" alt="{vb:rawphrase you_are_subscribed_to_this_thread}" />
                                                                </vb:if>
                                                        </div>
                                                </div>
                                        </div>
                                       
                                </div>

                        </div>
                </div>
               
                <!-- threadstats -->
                <vb:if condition="!$show['notificationtype']">
                <ul class="threadstats td alt" title="<vb:if condition="$thread['dot_count'] > 0">{vb:rawphrase have_x_posts_in_thread_last_y, {vb:raw thread.dot_count}, {vb:raw thread.dot_lastpost}}</vb:if>">
                        <vb:if condition="$show['threadmoved']">
                                <li>&nbsp;</li>
                                <li>&nbsp;</li>
                        <vb:else />
                                <li>{vb:rawphrase replies}: <a href="misc.php?do=whoposted&amp;t={vb:raw thread.threadid}" onclick="who({vb:raw thread.threadid}); return false;" class="understate">{vb:raw thread.replycount}</a></li>
                                <li>{vb:rawphrase views}: {vb:raw thread.views}</li>
                        </vb:if>
                        <li class="hidden">{vb:rawphrase rating}{vb:raw thread.rating} / 5</li>
                </ul>
                </vb:if>                                       
                <!-- lastpost -->
                <dl class="threadlastpost td<vb:if condition="$show['notificationtype']"> alt</vb:if>">
                <vb:if condition="$show['threadmoved']">
                        <dt class="lastpostby hidden">&nbsp;</dt>
                <vb:else />
                        <dt class="lastpostby hidden">{vb:rawphrase last_post_by}</dt>
                        <dd>{vb:raw memberaction_dropdown}</dd>
                        <dd>{vb:raw thread.lastpostdate}<vb:if condition="!$show['detailedtime']">, <span class="time">{vb:raw thread.lastposttime}</span></vb:if>
                        <a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_lastpost}, 'threadid', 'threadtitle'}#post{vb:raw pageinfo_lastpost.p}" class="lastpostdate understate" title="{vb:rawphrase go_to_last_post}"><img src="{vb:stylevar imgdir_button}/lastpost-{vb:stylevar right}.png" alt="{vb:rawphrase go_to_last_post}" onload="this.parentNode.parentNode.parentNode.getElementsByTagName('a')[0].removeAttribute('title');" /></a>
                        </dd>
                </vb:if>
                </dl>

                <vb:if condition="$show['notificationtype']">
                <!--  notification -->
                <div class="threadnotification td" >
                        <label for="thread_imod_checkbox_{vb:raw thread.realthreadid}">{vb:raw thread.notification}</label>
                </div>
                <label class="threadimod td">
                        <input type="checkbox" name="deletebox[{vb:raw subscribethread.$threadid}]" id="thread_imod_checkbox_{vb:raw thread.realthreadid}" value="yes" tabindex="1" />
                </label>
                </vb:if>
               
                <vb:if condition="$show['inlinemod']">
                <!-- fourth block -->
                <label class="threadimod td alt">
                        <input type="checkbox" id="thread_imod_checkbox_{vb:raw thread.realthreadid}" name="imodcheck[{vb:raw thread.realthreadid}]" tabindex="1" />
                </label>
                </vb:if>
               
        </div>
</li>

Here is a link to the thread where we were working on it. Answer there for any possible fixes. After we narrow it down, then we can post the fix here! https://vborg.vbsupport.ru/showthread.php?t=287590

stardotstar 09-11-2012 01:41 AM

So you install the product (this one or the "fixed" one?) and then edit search_threadbit to try your work?

Syxguns 09-11-2012 01:54 AM

Quote:

Originally Posted by stardotstar (Post 2364499)
So you install the product (this one or the "fixed" one?) and then edit search_threadbit to try your work?

Yes, what you can do is first read the other thread that I linked you to. Then download Notepad++ from here: http://notepad-plus-plus.org/

Copy the original file and paste it to Notpadd++ and save the original file in case you make a mistake you can always replace it. Then you can copy mine and put it in the place of what was there.

I just installed the [FIXED] version and it didn't work correctly either! In fact it was worse than this version!

stardotstar 09-11-2012 01:58 AM

Yep ok read that - and I use vi in the shell mostly, so I get you. its a pity that we can't do this work only in templates so we could hack it out in a child style... Anyway I'll replicate your work and report back.

stardotstar 09-11-2012 02:38 AM

Hmm, bit of a mystery isn't it. I tried to get the hover definitions from the rich markup username in postbit but had no success - name just drops out completely.

Are we sure that the *only* problem is with the hover reproducing the raw markup? Just checking to see if there's anything else known.

I have one instance on the main index page where my admin name is missing from the right column even though it paints correctly further down the same page.

Clearly has to be done with a plugin/hooks.
W

Syxguns 09-11-2012 02:58 AM

Quote:

Originally Posted by stardotstar (Post 2364506)
Hmm, bit of a mystery isn't it. I tried to get the hover definitions from the rich markup username in postbit but had no success - name just drops out completely.

Are we sure that the *only* problem is with the hover reproducing the raw markup? Just checking to see if there's anything else known.

I have one instance on the main index page where my admin name is missing from the right column even though it paints correctly further down the same page.

Clearly has to be done with a plugin/hooks.
W

I think it may have something to do with the javascript, buried beneath layers of code. Basically if you can narrow down the areas where it is taking place then we can remove and or change the identifier in the code. The problem is that with Firebug I can only get so deep into the code.

I haven't had time to look at the new code, but from what I could tell it is only showing Admin usernames. All other usernames were removed completely. I've disabled it temporarily. I don't know if I will be able to get it fixed or not. The older version works, it just has the element onmouseover= or preview enabled which needs to be removed or a disable code placed in to remove the effect of the original element.

I would love to be able to find what code it is and then just a disable for the element to the additional.css! That would be a quick and easy way of not messing with the original code, which may be changed by default on an update!!

If we can figure out what the code is that needs to change we can probably find a work around, the key is to find out what is happening!

Superorb 09-11-2012 03:09 AM

vBulletin is so convoluted that it takes ages to try and reverse the code to figure out all the files that are affecting something so small. And many times it's cumulative too. Makes things a real chore sometimes.

Syxguns 09-11-2012 03:26 AM

Quote:

Originally Posted by Superorb (Post 2364510)
vBulletin is so convoluted that it takes ages to try and reverse the code to figure out all the files that are affecting something so small. And many times it's cumulative too. Makes things a real chore sometimes.

That's one reason I said that I may as well give up at this point. How can you place in a disable code in the file template, and remove the HTML preview from the code and it still show a dang mouse over event?

:Cannon: ---------------> :Brain: LOL:) :red gushy substance!:

Superorb 09-11-2012 03:54 AM

Quote:

Originally Posted by Syxguns (Post 2364514)
That's one reason I said that I may as well give up at this point. How can you place in a disable code in the file template, and remove the HTML preview from the code and it still show a dang mouse over event?

:Cannon: ---------------> :Brain: LOL:) :red gushy substance!:

I haven't done much editing with plugins, but I've done a lot with templates and CSS files. It's such a drawn out process to change even small things because I have to look in 4 or 5 different places and hope I find the right spot. Things are saved in phrases, variables, etc and there's no such master list or map for them either.

The plugin is only a few lines of code, so hopefully a coder could recreate this plugin to work with 4.2+.

DFORMS 09-17-2012 04:47 PM

OK, so this doesn't work on 4.2? : s

Syxguns 09-17-2012 05:17 PM

Quote:

Originally Posted by DFORMS (Post 2366191)
OK, so this doesn't work on 4.2? : s

This version works better than the [Fixed] version. However, we were never able to remove the mouse over links, that read the HTML markup for the user. I disabled it.

DFORMS 09-17-2012 06:36 PM

Ah man... I really need this mod. This should be standard un VB...

Syxguns 09-17-2012 07:26 PM

Quote:

Originally Posted by DFORMS (Post 2366224)
Ah man... I really need this mod. This should be standard un VB...

I agree that they should include it, however, that is not going to happen in vB4! I' tried making changes but have not been successful.

Superorb 09-17-2012 07:33 PM

You can buy a working version for $20.
http://www.qapla.com/mods/forumdispl...on-per-User-20

Syxguns 09-17-2012 07:49 PM

Quote:

Originally Posted by Superorb (Post 2366238)
You can buy a working version for $20.
http://www.qapla.com/mods/forumdispl...on-per-User-20

Nice, I didn't realize BOP5 made one. You can trust his mods! Thanks for that find!

Superorb 09-17-2012 07:59 PM

Quote:

Originally Posted by Syxguns (Post 2366241)
Nice, I didn't realize BOP5 made one. You can trust his mods! Thanks for that find!

Yup, I found it last week when I was looking for his Breadcrumbs plugin. I bought the SevenSkins resizer but that was only $10 I believe. I'd buy the BOP5 plugin for $10 but not $20.

Syxguns 09-17-2012 08:11 PM

I think $20 is not a high price. I had a prolem with a mod of his and he fixed it the next day. You can trust his work and support! BOP5 is great about that.

DFORMS 09-17-2012 08:11 PM

I will probably buy it cause this feature is important on my phpbb forum (http://fragnet.ca) but will it work on my vbadvance page here: http://quebec-gamer.ca?

Syxguns 09-17-2012 08:30 PM

Quote:

Originally Posted by DFORMS (Post 2366254)
I will probably buy it cause this feature is important on my phpbb forum (http://fragnet.ca) but will it work on my vbadvance page here: http://quebec-gamer.ca?

Different add ons have different template hooks. This is a question you would need to ask BOP5. Ask on his forum and he will let you know if it is or can be compatible with vbadvanced.

tanzeelniazi 09-18-2012 07:20 PM

i have a problem this hack not working in VB4.2.0 :(
Can you help me or any update thanks

Superorb 09-18-2012 07:33 PM

Quote:

Originally Posted by tanzeelniazi (Post 2366508)
i have a problem this hack not working in VB4.2.0 :(
Can you help me or any update thanks

It's not working for anyone on 4.2.

Gemma 09-18-2012 08:01 PM

Quote:

Originally Posted by tanzeelniazi (Post 2366508)
i have a problem this hack not working in VB4.2.0 :(
Can you help me or any update thanks

Quote:

Originally Posted by Superorb (Post 2366514)
It's not working for anyone on 4.2.

Works fine for me, there are numerous posts within this thread showing you the correct format to apply to the usergroup html markup

Superorb 09-18-2012 08:29 PM

Quote:

Originally Posted by Gemma (Post 2366517)
Works fine for me, there are numerous posts within this thread showing you the correct format to apply to the usergroup html markup

That's a band-aid that removes functionality. I want the Title text to stay the same as before the plugin install. I want them to be generated dynamically, not some static text that means nothing.

Gemma 09-18-2012 09:12 PM

Quote:

Originally Posted by Superorb (Post 2366525)
That's a band-aid that removes functionality. I want the Title text to stay the same as before the plugin install. I want them to be generated dynamically, not some static text that means nothing.

True, but the info that it removes is readily available elsewhere on your site (more than once) - in some cases right next to the hover text in the case of thread creation details so I guess that could be deemed meaningless too ;)

Superorb 09-18-2012 10:45 PM

Quote:

Originally Posted by Gemma (Post 2366536)
True, but the info that it removes is readily available elsewhere on your site (more than once) - in some cases right next to the hover text in the case of thread creation details so I guess that could be deemed meaningless too ;)

My problem with it is that I have some users where I don't want others knowing that they're admins or super mods. I suppose I could use some generic Title text. If I could turn off the title I'd do that since like you said the info is already available elsewhere. I've tried to get the title to be dynamically generated with variables, but it won't parse in the title tag for some reason so I just gave up. I'll probably try again though as I really like this mod, or I'll just buy the $20 one if I can't figure it out myself.

Morpheuss89 10-02-2012 01:09 PM

Quote:

Originally Posted by Gemma (Post 2245815)
I'm sure I've posted the changes I made somewhere in this thread

https://vborg.vbsupport.ru/search.php?searchid=20330323

where ? xD

tanzeelniazi 10-02-2012 03:46 PM

Quote:

Works fine for me, there are numerous posts within this thread showing you the correct format to apply to the usergroup html markup
i ll try many time but not working fine :( I use many HTML tags but still not working
Can you tell me Step to Step i really need this Mod
Please tell me step by step please

diddy29 10-05-2012 05:55 AM

Great! But a few issues:
  • when mouse rolls over username, a tooltip with the HTML code for the username markup shows. I have done single quotes for the inline CSS in the <span> tags, and that takes it away except from the tooltip. The tooltip also says the user is offline when in fact they are online
  • this only shows up for what is the user's primary group. We have many users with secondary groups that are their display groups, but this mod only shows the priarmy usergroup markup. This is an issue, and as such I will uninstall until a workaround is made avaliable
  • it's be great if this was shown in more places, like forum blocks etc

Syxguns 10-05-2012 06:44 AM

Quote:

Originally Posted by diddy29 (Post 2370890)
Great! But a few issues:
  • when mouse rolls over username, a tooltip with the HTML code for the username markup shows. I have done single quotes for the inline CSS in the <span> tags, and that takes it away except from the tooltip. The tooltip also says the user is offline when in fact they are online
  • this only shows up for what is the user's primary group. We have many users with secondary groups that are their display groups, but this mod only shows the priarmy usergroup markup. This is an issue, and as such I will uninstall until a workaround is made avaliable
  • it's be great if this was shown in more places, like forum blocks etc

I know I worked with making several changes, but none were effective with vB 4.2. There is an updated version of this mod for 4.2, but it is worst than this one. I ended up making a purchase here: BirdOPrey5 Qapla forum His works perfect for vB 4.2 and the cost is only $20 USD.

Superorb 10-05-2012 12:30 PM

Quote:

Originally Posted by Syxguns (Post 2370898)
I know I worked with making several changes, but none were effective with vB 4.2. There is an updated version of this mod for 4.2, but it is worst than this one. I ended up making a purchase here: BirdOPrey5 Qapla forum His works perfect for vB 4.2 and the cost is only $20 USD.

+1. I wasted a few hours trying to get it to work to no avail. I tried the newer version and it's worse, ALL usernames are hidden. I can't believe developers don't test their stuff before they release it.

I'll probably be buying the one from Joe at Qapla sometime down the line too.

TheSupportForum 10-05-2012 08:10 PM

Quote:

Originally Posted by Superorb (Post 2370944)
+1. I wasted a few hours trying to get it to work to no avail. I tried the newer version and it's worse, ALL usernames are hidden. I can't believe developers don't test their stuff before they release it.

I'll probably be buying the one from Joe at Qapla sometime down the line too.

the above product works 100%

you need to ensure you are using the correct Username HTML Markup tags
in usergroups

set Username HTML Markup with the correct tag its does work 100% on 4.2.0

examples


Code:

<span style="color: green;"></span>
<span style="color: red;"></span>
<span style="color: orange;"></span>
<span style="color: yellow;"></span>
<span style="color: white;"></span>


https://vborg.vbsupport.ru/

http://img715.imageshack.us/img715/4...e4fb770588.png

Superorb 10-05-2012 08:24 PM

Quote:

Originally Posted by simonhind (Post 2371050)
the above product works 100%

you need to ensure you are using the correct Username HTML Markup tags
in usergroups

set Username HTML Markup with the correct tag its does work 100% on 4.2.0

Hover your mouse above one of the colored usernames. You should see a bunch of code instead of the default title.

Syxguns 10-05-2012 08:29 PM

Quote:

Originally Posted by simonhind (Post 2371050)
the above product works 100%

you need to ensure you are using the correct Username HTML Markup tags
in usergroups

set Username HTML Markup with the correct tag its does work 100% on 4.2.0

examples

Code:

<span style="color: red;"></span>
http://img17.imageshack.us/img17/410...3b29dcea0c.png

http://img69.imageshack.us/img69/577...7478c05076.png

simonhind,
Yeah, that much of it works! What do you get when you scroll over a name in the "Last Post" area or in the "Forum Threads" area?

Last Post should read: "Username is online or offline"
Forum Threads should read: "Started by Username and date created"

That is the part of the mod that we could not get to work! Showing the color is great, but the highlight or mouseover effect should read correctly and not "<span style="color: red;">". It's not a matter of using correct HTML it's a matter of the mod not working 100% and that is what was driving us crazy...:eek:

TheSupportForum 10-05-2012 08:59 PM

Quote:

Originally Posted by Syxguns (Post 2371056)
simonhind,
Yeah, that much of it works! What do you get when you scroll over a name in the "Last Post" area or in the "Forum Threads" area?

Last Post should read: "Username is online or offline"
Forum Threads should read: "Started by Username and date created"

That is the part of the mod that we could not get to work! Showing the color is great, but the highlight or mouseover effect should read correctly and not "<span style="color: red;">". It's not a matter of using correct HTML it's a matter of the mod not working 100% and that is what was driving us crazy...:eek:

here's the fix

Code:

<span style='color: green;' title='Administrators'> </span>
<span style='color: blue;' title='Moderators'></span>
<span style='color: orange;' title='Registered Users'></span>
<span style='color: yellow;' title='Super Moderators'></span>
<span style='color: red;' title='Banned Users'></span>


Superorb 10-05-2012 09:05 PM

Quote:

Originally Posted by simonhind (Post 2371062)
here's the fix

Code:

<span style='color: green;' title='Administrators'> </span>
<span style='color: blue;' title='Moderators'></span>
<span style='color: orange;' title='Registered Users'></span>
<span style='color: yellow;' title='Super Moderators'></span>
<span style='color: red;' title='Banned Users'></span>


That's not a fix. We want it to show the default title tag (user is online/offline, and when the post was created. I don't want usergroups advertised.

TheSupportForum 10-05-2012 09:08 PM

Quote:

Originally Posted by Superorb (Post 2371063)
That's not a fix. We want it to show the default title tag (user is online/offline, and when the post was created. I don't want usergroups advertised.


ok, i think i can modify it to show that info hold on

----

too tired at the moment, but i'll see if i can look into it

BirdOPrey5 10-06-2012 12:41 AM

Hey all- I got notice of this thread. I appreciate the mentioning of my mod but please keep the discussion in this thread on topic about this mod.

As for the problem with the markup code in the username, it is a problem I got into too. There is not going to be an "easy" (1 step) fix.

What I had to do was create a new phrase with an additional parameter (both username and musername) and then edit the relevant templates to use the new phrase instead of the built in phrase.

The built in phrase was designed only for the non-markup username and will simply never work correctly with the markup (musername) alone.

tanzeelniazi 10-06-2012 06:10 AM

Really good mod anyone trying to fix please in Vb 4.2.0
thanks

TheSupportForum 10-06-2012 06:32 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2371080)
Hey all- I got notice of this thread. I appreciate the mentioning of my mod but please keep the discussion in this thread on topic about this mod.

As for the problem with the markup code in the username, it is a problem I got into too. There is not going to be an "easy" (1 step) fix.

What I had to do was create a new phrase with an additional parameter (both username and musername) and then edit the relevant templates to use the new phrase instead of the built in phrase.

The built in phrase was designed only for the non-markup username and will simply never work correctly with the markup (musername) alone.

i noticed the same and even tried using template conditions like $username which didn't work i even tried raw phrases which didn't work


All times are GMT. The time now is 03:19 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02406 seconds
  • Memory Usage 2,037KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (27)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete