Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] Unique Theme
#71
(2016-09-08, 02:15 PM)subzr1 Wrote: go to
member_register and member_register_password templates
search for something like this:
<input type="text" class="textbox" name="loginname" id="loginname" style="width: 100%;" value="">




at the end replace the width of 100% to 90%
style="width: 90%;"

Thank you once again! It worked Big Grin
[Image: rsVwaMgDaTmSxwe1yZxAO1CN-R-kvo9x23AU520m...h768-rw-no]
Reply
#72
Hello subzr,

is it possible to add something like this to the theme (basically a division where certain sentences are displayed and change from time to time).


Attached Files Thumbnail(s)
   
[Image: rsVwaMgDaTmSxwe1yZxAO1CN-R-kvo9x23AU520m...h768-rw-no]
Reply
#73
you mean something like annoucements?
yes it is
in fact i believe theres a plugin in mods to do that
or you can try and add on yourself
Reply
#74
(2016-09-11, 01:58 PM)subzr1 Wrote: you mean something like annoucements?
yes it is
in fact i believe theres a plugin in mods to do that
or you can try and add on yourself

Not like announcements. Basically a bar where it is displayed more than 1 setence. Each setence disappears after X seconds and another one pops in, everything in the same bar.
Check this demo to understand it in a more detailed way: http://5.230.194.112/demo/

Also how can I add this to the upper part of unique theme, after header: http://www.w3schools.com/howto/howto_css...search.asp
I have tried to add it but I do not know what to do for it to use search.php page when I want to search for something.

Thank you,
Pmx.pt  Smile
[Image: rsVwaMgDaTmSxwe1yZxAO1CN-R-kvo9x23AU520m...h768-rw-no]
Reply
#75
(2016-09-11, 03:54 PM)pmx.pt Wrote: Not like announcements. Basically a bar where it is displayed more than 1 setence. Each setence disappears after X seconds and another one pops in, everything in the same bar.




Check this demo to understand it in a more detailed way: http://5.230.194.112/demo/

Also how can I add this to the upper part of unique theme, after header: http://www.w3schools.com/howto/howto_css...search.asp
I have tried to add it but I do not know what to do for it to use search.php page when I want to search for something.

Thank you,
Pmx.pt  Smile

hi again
that its in fact announcements
some people uses serveral ones at same time and others use  a css or jquery based that fades away or scrool down and sometimes right to left also

for the search bar you have all the info you need in that link
Reply
#76
(2016-09-11, 04:17 PM)subzr1 Wrote:
(2016-09-11, 03:54 PM)pmx.pt Wrote: Not like announcements. Basically a bar where it is displayed more than 1 setence. Each setence disappears after X seconds and another one pops in, everything in the same bar.




Check this demo to understand it in a more detailed way: http://5.230.194.112/demo/

Also how can I add this to the upper part of unique theme, after header: http://www.w3schools.com/howto/howto_css...search.asp
I have tried to add it but I do not know what to do for it to use search.php page when I want to search for something.

Thank you,
Pmx.pt  Smile

hi again
that its in fact announcements
some people uses serveral ones at same time and others use  a css or jquery based that fades away or scrool down and sometimes right to left also

for the search bar you have all the info you need in that link

Alright thanks!

Regarding the search box, I need to know how I can make the box search what it is entered in it, in the mybb website. Cause there is a specific function for that that directs the request towards search.php. What would that specific function be?

(The problem is not creating the search box. The problem is to make it working with mybb).

Thank you,
Pmx.pt
[Image: rsVwaMgDaTmSxwe1yZxAO1CN-R-kvo9x23AU520m...h768-rw-no]
Reply
#77
remove the css code of the search box you have from global.css (mak a backup first just in case)
insert the new css code u have and then its just adjusting by playing a bit with the css
Wink
Reply
#78
(2016-09-11, 06:41 PM)subzr1 Wrote: remove the css code of the search box you have from global.css (mak a backup first just in case)
insert the new css code u have and then its just adjusting by playing a bit with the css
Wink

Ok I went ahead and did that. The search box is now added. the code is the following:

<style>
input[type=text] {
    width: 130px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    background-color: white;
    background-image: url('searchicon.png');
    background-position: 10px 10px;
    background-repeat: no-repeat;
    padding: 12px 20px 12px 40px;
    -webkit-transition: width 0.4s ease-in-out;
    transition: width 0.4s ease-in-out;
}

input[type=text]:focus {
    width: 100%;
}
</style>

<form>
  <input type="text" name="search" placeholder="Search..">
</form>

Now it displays the searchbox in header. I typed "test" and the returned link was: https://forums.cyberfleet.net/index.php?search=test. It didnt return any results and just refreshed the page.

EDIT: FIXED NOW! Thanks! Big Grin
[Image: rsVwaMgDaTmSxwe1yZxAO1CN-R-kvo9x23AU520m...h768-rw-no]
Reply
#79
Hello,


I am building a custom page outside mybb forum software. Is there a way to transport the menu from this theme to that custom page?

Thank you,
Pmx.pt
[Image: rsVwaMgDaTmSxwe1yZxAO1CN-R-kvo9x23AU520m...h768-rw-no]
Reply
#80
yes you can but not with mybb variables on menus inside the template
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)