Status
Not open for further replies.

wolfbd

Customer
I have been using dartho mobile style from the first. I lost many mobile users after installing credit mod as mobile users cannot get the charged contents. I have tried to get solution from dartho but reply was to contact DBT and to ask which hook is missing for mobile style.
Please help me out.
 
You can use the Search Template feature to find out where exactly it is, it's in the SHOWTHREAD template :)
 
In that case I really don't know, it wasn't designed for usage with styles that are missing template hooks. That's the only instance of a template hook being used as far as I can tell.
 
In that case I really don't know, it wasn't designed for usage with styles that are missing template hooks. That's the only instance of a template hook being used as far as I can tell.
I really need help on this. Will you please be so kind enough to tell me, for this fix if need to contact only the mod developer or DBT. It will be a great support for me.
 
If you could ask them to list all the template hooks they removed from the show thread page, I can compare them to what vBCredits uses and hopefully find a match :)
 
Dartho showthread is as below:
Code:
{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>
	<vb:if condition="$threadinfo['keywords']"><meta name="keywords" content="{vb:raw threadinfo.title}" /></vb:if>
	<meta name="description" content="{vb:raw threadinfo.title}" />
	{vb:raw headinclude}
	<title>{vb:raw thread.prefix_plain_html} {vb:raw thread.title}</title>
</head>
<body>
<div class="bodywrapping">

{vb:raw header}
{vb:raw navbar}
{vb:raw poll}

<div class="titlebg">{vb:rawphrase thread}: <a href="{vb:raw relpath}" title="Reload this page">{vb:raw threadinfo.title}</a></div>
		<vb:if condition="$pagenav">
			{vb:raw pagenav}
		</vb:if>

{vb:raw postbits}

<vb:if condition="$show['tag_box']">
<div class="windowbg2"><a href="tags.php{vb:raw session.sessionurl_q}">{vb:rawphrase tags}</a>:{vb:raw tag_list}</div>
</vb:if>
<vb:if condition="$show['pagenav']">{vb:raw pagenav}</vb:if>
{vb:raw ad_location.ad_showthread_beforeqr}
<vb:if condition="$show['member']">
<div>
<form action="newreply.php" method="post">
<textarea wrap="virtual" name="message" rows="10" cols="30" style="height:100px;width:99%" tabindex="1">
</textarea>


<input type="hidden" name="wysiwyg" value="0" />
<input type="hidden" name="fromquickreply" value="1" />
<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="do" value="postreply" />
<input type="hidden" name="t" value="{vb:raw threadid}" id="qr_threadid" />
<input type="hidden" name="p" value="{vb:raw qrpostid}" id="qr_postid" />
<input type="hidden" name="parseurl" value="1" />
<input type="hidden" name="loggedinuser" value="{vb:raw bbuserinfo.userid}" />
<input type="submit" id="btn" value="{vb:rawphrase submit_reply}" />
</form>
</div>
</vb:if>
{vb:raw template_hook.showthread_below_posts}
{vb:raw footer}
</div>
</body>
</html>
I wish it will help.
Thank you.
 
Yeah, I need you to ask him for a list of all template hooks missing from all templates that're being called in the showthread.php file.

I can't help you make his skin compatible with modifications if I don't have this information, since his skin isn't allowing modifications to run any code on it at this time.
 
Yeah, I need you to ask him for a list of all template hooks missing from all templates that're being called in the showthread.php file.

I can't help you make his skin compatible with modifications if I don't have this information, since his skin isn't allowing modifications to run any code on it at this time.

Ok I will come back to you shortly. Thank you for the assistance.
 
You may also need to perform the following file edit:
In /dbtech/credits/credits_core.php find:
PHP:
if (!in_array($vbulletin->userinfo['styleid'], array($vbulletin->options['mobilestyle_basic'], $vbulletin->options['mobilestyleid_advanced'])))
replace with
PHP:
if (true)

That may work.
 
You may also need to perform the following file edit:
In /dbtech/credits/credits_core.php find:
PHP:
if (!in_array($vbulletin->userinfo['styleid'], array($vbulletin->options['mobilestyle_basic'], $vbulletin->options['mobilestyleid_advanced'])))
replace with
PHP:
if (true)

That may work.

Thanks dude. I have tried that without any luck :(.
 
Then I'm fresh out of ideas, the skin has been coded in a way that makes it incompatible with mods so it's really up to the developer of the skin to fix that - fixing other people's work is not usually a service we provide.

Sorry :(
 
Then I'm fresh out of ideas, the skin has been coded in a way that makes it incompatible with mods so it's really up to the developer of the skin to fix that - fixing other people's work is not usually a service we provide.

Sorry :(

No problem dude. Thanks for your try. I will still try to get support from him. And I will reply here with the updates.
 
Status
Not open for further replies.

Similar threads

Legacy vBCredits II Deluxe

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
846
Customer rating
0.00 star(s) 0 ratings
Back
Top