Hello Guest
No Avatar
Sign In to Remove

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - darcysarto

Pages: [1]
Posts: 
14
Posted: October 1, 2011, 7:34 PM


I wisk to use this mod http://custom.simplemachines.org/mods/index.php?mod=1752 on my forum.  I attempted installation which it warned me would fail on post.template.

This was fine as I assumed I could simply add the code manually, replacing

Code: [Select]
// Now show the subject box for this post.


with

Code: [Select]
// Here starts the Topic Prefix Mod
if (!empty($context['prefix']))
{
echo'
<dt>
', $txt['prefix_select'], ':
</dt>
<dd>
<select name="post_prefix" id="post_prefix">
<option value="">(', $txt['prefix_no'], ')</option>';

foreach($context['prefix'] as $prefix)
echo'
<option value="', $prefix['prefix'], '" >', $prefix['prefix'], '</option>';

echo'
</select>
</dd>';
}
// Here Topic Prefix Mod End's

// Now show the subject box for this post.



And then continued with the installation.  The admin panel appears and I can add prefixes but for some reason the prefix drop down is not appearing when I attempt to post.  Would you have any idea why this is?  Is it something I have done wrong or is it to do with Vertex?

Thank you.
Posts: 
14
Posted: September 16, 2011, 3:40 AM
Thanks for that, I'm no expert but can muddle through, I lifted most of that code from the ssi_login method, I have no experience of floated divs or much of this stuff I code Java.  I'll try your suggestion with the input class.  If you can supply a better solution than the one I'm using I'll happily use it, you're the expert and that's why I asked you :-)
Posts: 
14
Posted: September 16, 2011, 2:06 AM
Ok thanks for that but it doesn't really work, that just gives you the standard login boxes.  I want them to lay horizontally.  So I've found the code and changed it so its just sitting in columns as below.  It works fine except that the text is coloured grey.  How do I change it to white like the rest of the theme. Additionally how do I make the bar at the top of the screen a few pixels deeper vertically?  Thanks.

Code: [Select]
<form action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '">
<table border="0" cellspacing="1" cellpadding="0" class="ssi_table">
<tr>
<td align="right">', $txt['vp_welcome_guest'], '</td>
<td align="right">', $txt['vp_login'], ':&nbsp;</td>
<td align="right">', $txt['username'], ':&nbsp;</td>
<td><input type="text" id="user" name="user" size="9" value="', $user_info['username'], '" class="input_text" /></td>
                <td align="right">', $txt['password'], ':&nbsp;</td>
<td><input type="password" name="passwrd" id="passwrd" size="9" class="input_password" /></td>
                <td><input type="hidden" name="cookielength" value="-1" /></td>
                 <td><input type="submit" value="', $txt['login'], '" class="button_submit" /></td>

</tr>
</table>
</form>';
Posts: 
14
Posted: September 15, 2011, 3:21 AM
Thanks, I've managed to add my Twitter button.

I don't disagree with you, I think it does look nicer but functionally, personally, I think it's an issue.  If I wanted to add to what's alredy there with a username and password box and login button (without the login period combo) I know I'd need to replace this:

$txt['vp_welcome_guest'] ,' <a href="', $scripturl ,'?action=login">', $txt['vp_login'] ,'</a> or <a href="', $scripturl ,'?action=register">', $txt['vp_register'] ,'</a>.

But what would I replace it with?
Posts: 
14
Posted: September 14, 2011, 2:07 PM
Hi,

Yes thanks for that, I’ve learnt something useful from that.  Got the Recent posts mod working.  The Facebook connect one seems to depend on the login boxes appearing on the front screen to be able to add the Connect using Facebook button.

Is there a reason why you have removed the login boxes from the front screen?  I am only thinking that from a users point of view, if they are used to logging in from the main forum page it is odd to force them to the login screen?  The vast majority of forums I’ve seen allow the user to login directly.  Is this something you would consider changing for this theme.

Also, where is the code that displays the social media icons in the top right of the screen, I’d like to add a follow us on Twitter button and think that would be the place to put it.

Thanks.
Posts: 
14
Posted: September 13, 2011, 4:02 AM
Also, I just tried to install the 'Recent Topics On Board Index' mod which doesn't seem to have worked.

Should I assume that mods are not always going to work correctly as I am now using a non-standard theme?
Posts: 
14
Posted: September 13, 2011, 3:51 AM
Hi.  Thanks for that.  In the end I opted to shrink the banner/logo which in all honesty makes it look a lot better.

I had SA Facebook connect installed on my Curve theme which I uninstalled and then reinstalled but now with your theme the Connect With Facebook no longer appears on the front page of the forum, is there any way around this, it appears on the login screen correctly.

Also, I'd like to add a 'Follow us on Twitter' button somewhere, not sure where would be best or how to go about doing so?  Apologies for being a complete novice at all this!
Posts: 
14
Posted: September 11, 2011, 3:16 PM
Well that is more than a logo. That is a whole banner image.

You will have to set the background image of the middle section and have a little logo linked...

Apologies, I don't mind admitting my ignorance as to what constitutes which.  How do I do what you suggest?
Posts: 
14
Posted: September 11, 2011, 4:25 AM
Hi again.  I've tried what you suggested an realised I'd need to adjust the logo size and to allow for the search box, so have made it 1007 X 71 pixels but it's not working quite right?  Any suggestions as to how I can left justify it?


Posts: 
14
Posted: September 10, 2011, 8:55 PM
ugh, something I will have to fix tomorrow :(

I guess this is a bug so in the meantime edit the template with your image or just replace: http://yoursite.com/Themes/Vertex/images/vertex_image/banner_logo.png

Cool, thanks very much, will try it later.
Posts: 
14
Posted: September 10, 2011, 3:56 AM
Please screenshot the theme settings for me.
Sure, here they are.




And this is the path to the logo http://www.bbclocalradioforum.co.uk/Themes/bbcforum2.gif
Posts: 
14
Posted: September 10, 2011, 2:45 AM
Please use the support section in the future but since this a small question...
If you have defined the logo image url in the theme settings then it should be picking it up.

You will have to reinstall the mod or add the appropriate modifications to the theme files.

The URL is definitely correct but is not being picked up, I am using a .gif, does it need to be of a certain size?
Posts: 
14
Posted: September 10, 2011, 2:43 AM
Please use the support section in the future but since this a small question...
If you have defined the logo image url in the theme settings then it should be picking it up.

You will have to reinstall the mod or add the appropriate modifications to the theme files.

Thanks for that I'll continue this in the support thread.
Posts: 
14
Posted: September 10, 2011, 12:33 AM
Hi, this theme is great and I'm considering using it.  I tried installing it which was fine but i doesn't seem tpo pick up my logo image url, would there be any reason for this?  I'm using SMF 2.0?

Also I have SA Facebook Connect installed and the Connect With Facebook button does not appear.  Would I have to re-install that mod?

Thank you.
Pages: [1]