Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Username HTML Markup 4.2.x Details »»
Username HTML Markup 4.2.x
Version: 4.2.x, by Hasann Hasann is offline
Developer Last Online: Jun 2021 Show Printable Version Email this Page

Category: Major Additions - Version: 4.2.x Rating:
Released: 11-29-2009 Last Update: 03-07-2014 Installs: 666
Uses Plugins
Re-useable Code Translations  
No support by the author.

Username HTML Markup by Hasann

This Product brought to you by
www.vbulletin-TR.com

Description: This Add-On will showing the Usergroups Username HTML Markup in EVERYWHERE Espacially in

FORUMINDEX / FORUMHOME / FORUMLIST / FORUMDISPLAY / SUBFORUMS

Installation: Import the product-username_html_markup.xml product file via admincp -> product manager -> import/export products

Tested on:
  • vBulletin 4.0.1
  • vBulletin 4.2.2

Download Now

File Type: zip Username_Html_Markup_v4.0.1.zip (1.0 KB, 4477 views)
File Type: zip Username_Html_Markup_v4.2.x.zip (1.1 KB, 974 views)

Screenshots

File Type: jpg UserName_HTML_MarkUp_ForumHome.jpg (39.9 KB, 1 views)
File Type: jpg UserName_HTML_MarkUp_ForumDisplay.jpg (111.2 KB, 1 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
9 благодарности(ей) от:
Life Revived, nacaruncr, Skaut, sodasusu, SᴩiDᴇЯ, Teascu Dorin, X-or

Comments
  #442  
Old 09-11-2012, 01:03 AM
Superorb Superorb is offline
 
Join Date: Feb 2012
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Syxguns View Post
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.
Reply With Quote
  #443  
Old 09-11-2012, 01:28 AM
Syxguns's Avatar
Syxguns Syxguns is offline
 
Join Date: Jul 2011
Posts: 280
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #444  
Old 09-11-2012, 01:41 AM
stardotstar stardotstar is offline
 
Join Date: May 2008
Location: SYD, AU
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So you install the product (this one or the "fixed" one?) and then edit search_threadbit to try your work?
Reply With Quote
  #445  
Old 09-11-2012, 01:54 AM
Syxguns's Avatar
Syxguns Syxguns is offline
 
Join Date: Jul 2011
Posts: 280
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stardotstar View Post
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!
Reply With Quote
  #446  
Old 09-11-2012, 01:58 AM
stardotstar stardotstar is offline
 
Join Date: May 2008
Location: SYD, AU
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #447  
Old 09-11-2012, 02:38 AM
stardotstar stardotstar is offline
 
Join Date: May 2008
Location: SYD, AU
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #448  
Old 09-11-2012, 02:58 AM
Syxguns's Avatar
Syxguns Syxguns is offline
 
Join Date: Jul 2011
Posts: 280
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stardotstar View Post
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!
Reply With Quote
  #449  
Old 09-11-2012, 03:09 AM
Superorb Superorb is offline
 
Join Date: Feb 2012
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #450  
Old 09-11-2012, 03:26 AM
Syxguns's Avatar
Syxguns Syxguns is offline
 
Join Date: Jul 2011
Posts: 280
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Superorb View Post
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!:
Reply With Quote
  #451  
Old 09-11-2012, 03:54 AM
Superorb Superorb is offline
 
Join Date: Feb 2012
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Syxguns View Post
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+.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04782 seconds
  • Memory Usage 2,396KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (7)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete