MyBB Community Forums

Full Version: Duende V2 Theme
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
(2015-01-29, 10:25 AM)nikan Wrote: [ -> ]hey man
thanks this is gra8est Theme I ever i searched all themes and this is best

thanks Wink
Hello everyone,

First of all, congratulations for the great work you have done.

We are developing our website and we encountered some problems. After reviewing the entire post, I solved some but still I need some. I hope you can help: me

1- Where can I can change the image next to the url?


2- Where can I can remove the punctuation? I just want to score users.
[Image: puntuacion.png]


3- Where can I can rename the quote and multiquote button? (It's a simple change of language)
[Image: cita.png]


4- Where can I can change the image of the forums? (when messages and when not)
[Image: iconos.png]


5- How do I add another image in the Background selector?

I leave the link of the forum for anything: http://tacticalairsoftteam.web44.net/
hello
glad u like  it
1º- the images on url, i supose u are talking about the top menu
its not images its font icons from Fontawosome that can be edited on header templates
u can find a guide here on how to use it, its quite simple btw
http://fortawesome.github.io/Font-Awesome/icons/

2º-go to your templates/forumdisplay and open the "forumdisplay_thread_rating" template
delete all content and save it.
next on same set open "forumdisplay_threadlist" and replace all content by this:

<div class="float_left">
	{$multipage}
</div>
<div class="float_right">
	{$newthread}
</div>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder clear" style="padding: 5px;">
	<tr>
		<td class="thead" colspan="{$colspan}">
			<div class="float_right">
				<span class="smalltext"><strong><a href="misc.php?action=markread&amp;fid={$fid}{$post_code_string}" title="Mark Forum as Read"><i class="fa fa-check-square-o fa-lg"></i></a> | <a href="usercp2.php?action={$add_remove_subscription}subscription&amp;type=forum&amp;fid={$fid}&amp;my_post_key={$mybb->post_code}" title="Subscribe/Unsubscribe to this Forum"><i class="fa fa-book fa-lg"></i></a>{$clearstoredpass}</strong></span>
			</div>
			<div>
				<strong>{$foruminfo['name']}</strong>
			</div>
		</td>
	</tr>
	<tr>
		<td class="tcat" colspan="3" width="66%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=subject&amp;order=asc">{$lang->thread}</a> {$orderarrow['subject']} / <a href="{$sorturl}&amp;sortby=starter&amp;order=asc">{$lang->author}</a> {$orderarrow['starter']}</strong></span></td>
		<td class="tcat" align="center" width="7%"></td>
      {$ratingcol}
		<td class="tcat" align="right" width="7%"><span class="smalltext"><strong>Post info</strong></span></td>
		<td class="tcat" align="left" width="20%"><span class="smalltext" style="float: right;margin-right: 60%;
"><strong><a href="{$sorturl}&amp;sortby=lastpost&amp;order=desc">{$lang->lastpost}</a> {$orderarrow['lastpost']}</strong></span></td>
		{$inlinemodcol}
	</tr>
	{$selectall}
	{$announcementlist}
	{$threads}
	<tr>
		<td class="tfoot" align="right" colspan="{$colspan}">
			<form action="forumdisplay.php" method="get">
				<input type="hidden" name="selectall" value="" />
				<input type="hidden" name="fid" value="{$fid}" />
				<select name="sortby">
					<option value="subject" {$sortsel['subject']}>{$lang->sort_by_subject}</option>
					<option value="lastpost" {$sortsel['lastpost']}>{$lang->sort_by_lastpost}</option>
					<option value="starter" {$sortsel['starter']}>{$lang->sort_by_starter}</option>
					<option value="started" {$sortsel['started']}>{$lang->sort_by_started}</option>
					{$ratingsort}
					<option value="replies" {$sortsel['replies']}>{$lang->sort_by_replies}</option>
					<option value="views" {$sortsel['views']}>{$lang->sort_by_views}</option>
				</select>
				<select name="order">
					<option value="asc" {$ordersel['asc']}>{$lang->sort_order_asc}</option>
					<option value="desc" {$ordersel['desc']}>{$lang->sort_order_desc}</option>
				</select>
				<select name="datecut">
					<option value="1" {$datecutsel['1']}>{$lang->datelimit_1day}</option>
					<option value="5" {$datecutsel['5']}>{$lang->datelimit_5days}</option>
					<option value="10" {$datecutsel['10']}>{$lang->datelimit_10days}</option>
					<option value="20" {$datecutsel['20']}>{$lang->datelimit_20days}</option>
					<option value="50" {$datecutsel['50']}>{$lang->datelimit_50days}</option>
					<option value="75" {$datecutsel['75']}>{$lang->datelimit_75days}</option>
					<option value="100" {$datecutsel['100']}>{$lang->datelimit_100days}</option>
					<option value="365" {$datecutsel['365']}>{$lang->datelimit_lastyear}</option>
					<option value="9999" {$datecutsel['9999']}>{$lang->datelimit_beginning}</option>
				</select>
				{$prefixselect}
				{$gobutton}
			</form>
		</td>
	</tr>
</table>
<div class="float_left">
	{$multipage}
</div>
<div class="float_right" style="margin-top: 4px;">
	{$newthread}
</div>
<br class="clear" />
<br />
<div class="float_right" style="text-align: right;">
		{$inlinemod}
	{$forumjump}
</div>
<div class="float_left" style="text-align: left;">
</div>
<br class="clear" />
{$inline_edit_js}
next open the "forumdisplay_inlinemoderation_col" template and replace the content by this :

<td class="tcat" align="center" width="1"><input type="checkbox" name="allbox" onclick="inlineModeration.checkAll(this)" style="margin-right: 25%; float: right;"/></td>


3º-on admin area go to top tabs configuration
then left menu "Languages" and there select your language and edit as you like

4º-replading the images  just go to ur template set and open "forumbit_depth2_forum"
there replace everything by this:

<li>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}">
<tr>
<td align="center" valign="middle" width="5px" rowspan="2"><span class="forum_status forum_{$lightbulb['folder']} ajax_mark_read" title="{$lightbulb['altonoff']}" id="mark_read_{$forum['fid']}"></td>
<td><strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<br />
<div class="smalltext"><i class="fa fa-file-text-o" original-title=""></i> Threads: {$threads}{$unapproved['unapproved_threads']} &nbsp; <i class="fa fa-files-o" original-title=""></i> Posts: {$posts}{$unapproved['unapproved_posts']}</div>
<div style="margin-left: -10px;" valign="middle">{$subforums}  </div></td>
<td width="36%">{$lastpost}</td>
</tr>
</table>
</li>
and save it
next go to themes global.css open it and replace this:

.forum_status {
height: 50px;
width: 50px;
text-align: center;
padding: 1px 2px;
font-size: 22px;
}

.forum_status i {
display: inline-block;
line-height: 50px;
}

.forum_on {
     color: #b23636;
  text-shadow: 1px 1px 0px #fff;
}

.forum_off, .forum_offlock, .forum_offlink {
color: #333;
text-shadow: 1px 1px 0px #fff;
}

.forum_off i {
	color: #31383f;
  text-shadow: 1px 1px 0px #fff;
}

.forum_offlock i:before {
content: "\f05e";
  color: #adadad;
text-shadow: 1px 1px 0px #fff;
}

.forum_offlink i:before {
content: "\f079";
  text-shadow: 1px 1px 0px #fff;
}
 by this:

.forum_status {
	height: 30px;
	width: 30px;
	background: url(images/forum_icon_sprite.png) no-repeat 0 0;
	display: inline-block;
}

.forum_on {
	background-position: 0 0;
}

.forum_off {
	background-position: 0 -30px;
}

.forum_offlock {
	background-position: 0 -60px;
}

.forum_offlink {
	background-position: 0 -90px;
}
 and save it
this will set the images to the mybb default

5º-for the backgrounds its a bit more complicated as it requires js files edit
the easyest way to put some backgrounds u prefer is just upload the images u like with the same name as the set by default asnd overwrite it
the js file to be edited are in:
"images/duende2/bg/jorgu1.js"
but that would depend on how many images to add as it requires also css editing for the box size


hope all goes well because theres a few changes on templates and css
if u can just buzz me here or pm me a admin account and ill fix it for you

Cheers
SubzR
1- I speak of this icon:
[Image: url.png]

2- I have already made the switch you provided me, but now I have a gap in the text:
[Image: texto.png]

3- In the area of languages, when looking at the variables of Spanish, none appears. Do not know if it will file problem or a charging problem.

4- The idea is not to the standard, but to put some edited by ourselves.

5- had tried to do what you propose, but for some reason the forum collapsed.

I've created an account with admin access to the forum, I send the data by PM. Thank you for your proposal, I hope everything goes well and again have to bother.
hello again
1º-that would be the fav icon


Add this line to your header or footer template:


<link rel="icon" type="image/png" href="{$mybb->settings['bburl']}/{$theme['imgdir']}/favicon.png">
ofc u will have to get a favicon image or use the mybb default one

2º- its fixed already Wink
3º- im a bit clueless about it because the spanish language variables doesnt show
on the english language you can find it here:
"Portada » Idiomas » English (American) » global.lang.php"

4º- when you make the changes i posted above it will show the default images of mybb
if you prefer costum images u will have to upload them to the same location on ftp
also the mybb default images are sprite images so it will need to edit css styles
what u can do is upload the images with the names:
on.png
off.png
offlock.png
and send me a pm with the link for the images and ill change it for you

5º-just get a background image with 1920x1080 size and upload it to where the backgrounds are and pm me the link to image or the name
ill add/replace by on of the defaults

Cheers
SubzR
Hello,

Great work you have done here.

Here you can find your theme edited for our purpose.
http://europe-international.org/mybb/index.php


But I have two problems.


1.) By accident i have remooved the copyright in the footer, how and where can i restore that.

2.) On the side bar there we have the panel with latest news, Can we change that to the latest posts.
If yes, how do we change that and where. If not, where can we enter the news for that section.

Kindly regards,

ncd200
(2015-02-06, 07:26 AM)ncd200 Wrote: [ -> ]Hello,

Great work you have done here.

Here you can find your theme edited for our purpose.
http://europe-international.org/mybb/index.php


But I have two problems.


1.) By accident i have remooved the copyright in the footer, how and where can i restore that.

2.) On the side bar there we have the panel with latest news, Can we change that to the latest posts.
If yes, how do we change that and where. If not, where can we enter the news for that section.

Kindly regards,

ncd200

hello
thanks for the critic Smile
for the footer copyrights just go to templates/footer and open footer template
at bottom add this:

<div class="fotter2">
<span class="fl4">{$lang->powered_by} <a href="http://mybb.com/" target="_blank">MyBB{$mybbversion}</a>, &copy; 2002-{$copy_year} <a href="http://mybb.com/" target="_blank">MyBB Group</a>.<br /></span>
<span class="choto2">Duende-v2| <a href="http://community.mybb.com/mods.php?action=view&pid=283" target="_blank">Copyright by iAndrew</a>
   Modified by <a href="http://community.mybb.com/user-77582.html" target="_blank">SubzR</a></span>
</div>
</div>
the side has a "Latest News" block
thats only for example purposes so users can edit as they prefer
the easyest way to add latest posts/threads is by using plugins like this ones here:
http://community.mybb.com/thread-162649.html
http://community.mybb.com/thread-159857.html

Cheers
Thanks for the answer, But how do i edit the latest news section to the most recent posts.
I cant find it, i have installed the plugin now.

Sorry Huh



(2015-02-06, 05:47 PM)subzr1 Wrote: [ -> ]
(2015-02-06, 07:26 AM)ncd200 Wrote: [ -> ]Hello,

Great work you have done here.

Here you can find your theme edited for our purpose.
http://europe-international.org/mybb/index.php


But I have two problems.


1.) By accident i have remooved the copyright in the footer, how and where can i restore that.

2.) On the side bar there we have the panel with latest news, Can we change that to the latest posts.
If yes, how do we change that and where. If not, where can we enter the news for that section.

Kindly regards,

ncd200

hello
thanks for the critic Smile
for the footer copyrights just go to templates/footer and open footer template
at bottom add this:


<div class="fotter2">
<span class="fl4">{$lang->powered_by} <a href="http://mybb.com/" target="_blank">MyBB{$mybbversion}</a>, &copy; 2002-{$copy_year} <a href="http://mybb.com/" target="_blank">MyBB Group</a>.<br /></span>
<span class="choto2">Duende-v2| <a href="http://community.mybb.com/mods.php?action=view&pid=283" target="_blank">Copyright by iAndrew</a>
   Modified by <a href="http://community.mybb.com/user-77582.html" target="_blank">SubzR</a></span>
</div>
</div>
the side has a "Latest News" block
thats only for example purposes so users can edit as they prefer
the easyest way to add latest posts/threads is by using plugins like this ones here:
http://community.mybb.com/thread-162649.html
http://community.mybb.com/thread-159857.html

Cheers
hello again
copyrights removed and still not on
no "Powered by Mybb" on footer
so as long as this is missing i wont give anymore kind of support to you
put the copyrights for the developers and ill glady help you

Cheers
SubzR
(2015-02-08, 01:41 PM)subzr1 Wrote: [ -> ]hello again
copyrights removed and still not on
no "Powered by Mybb" on footer
so as long as this is missing i wont give anymore kind of support to you
put the copyrights for the developers and ill glady help you

Cheers
SubzR

Hello,

Something must have gone wrong, but the copyright is back. Big Grin

So could you tell me now how to activate the latest post section there?
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32