News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

D. NightHawk Flash & NoneFlash MC

Started by TosTos, July 29, 2007, 09:31:35 PM

Previous topic - Next topic

TosTos

#20
Quote from: joomlamz on July 31, 2007, 04:12:47 PM
nice thant you
Thank you very much for your comment brother
Quote from: flint on July 31, 2007, 07:52:38 PM
fantastic....thanks for this....i had some mods installed on the default skin i.e. shoutbox and arcade....how do i get them working with this skin
never seen anything like this thank you again
Thank you, too. They should work. I am using ultimate shout here www.etkiweb.com

In fact I applied most of the mods there.
Try this,
Instead of boardindex.template, work on index.template
Search for // Show the load time?

Add before that code if (function_exists('sbox')) sbox();
Next, copy sbox.template in to NightHawk theme directory.
For the mods, gallery or Arcade,
you just need to go to Admin/current theme
Add button there,
To add button for arcade,
you use the code <a href="http//:www.your adress/index.php?action=arcade">ARCADE</a>
For example, <a href="http//:www.etkiweb.com/forum/index.php?action=arcade">OYUN</a> for my webpage.
Do the same for gallery mod, i.e
<a href="http//:www.your adress/forum/index.php?action=gallery">GALLERY</a>

Quote from: Cool999 on August 01, 2007, 10:02:26 AM
Will Ad management MOd will Work with this?
I didn't check that one brother,
However, you can try to change the theme folder name as EsRaReNGiZ-FLASH, then apply all the mods that I gave. You may need to do the same thing for Addmanagement mod. I.e don't select each table to put add.

Cool999


ivnj

Here's how it looks so far. 

http://thedarkorbs.byethost33.com/testsmf/index.php

Only 2 things.  The words at the top center are too dark to read.  So I need a color change.  Is that also in index.template.php

Members: 1 Topics: 1
Posts: 1 Latest Member: admin

And the bottom graphics I can't match the bottom left and right bars to right shade.  See how they don't match.

Thanks,
ivnj

TosTos

Quote from: ivnj on August 02, 2007, 02:34:55 AM
Here's how it looks so far. 

http://thedarkorbs.byethost33.com/testsmf/index.php

Only 2 things.  The words at the top center are too dark to read.  So I need a color change.  Is that also in index.template.php

Members: 1 Topics: 1
Posts: 1 Latest Member: admin

And the bottom graphics I can't match the bottom left and right bars to right shade.  See how they don't match.

Thanks,
ivnj
Yes it looks nice. But, this is not flash, you know that right? Please read above how to get your logo from glittermaker, and later gifworks . Then get your logo, and change it with logo.gif in images folder. Later go to admin/current theme and select the first option. Then those things such as member, and topic amount will be seen under the logo as mine.The left bottom and right bottom are seem different. I don't know why it changes the color. One is darker :) I am sorry, but it is going to be very small error for this theme :)

ivnj

But isn't flash heavy bandwidth?

Thanks,
ivnj

flint

Quote from: TosTos on August 01, 2007, 10:29:42 AM
Quote from: joomlamz on July 31, 2007, 04:12:47 PM
nice thant you
Thank you very much for your comment brother
Quote from: flint on July 31, 2007, 07:52:38 PM
fantastic....thanks for this....i had some mods installed on the default skin i.e. shoutbox and arcade....how do i get them working with this skin
never seen anything like this thank you again
Thank you, too. They should work. I am using ultimate shout here www.etkiweb.com [nofollow]

In fact I applied most of the mods there.
Try this,
Instead of boardindex.template, work on index.template
Search for // Show the load time?

Add before that code if (function_exists('sbox')) sbox();
Next, copy sbox.template in to NightHawk theme directory.
For the mods, gallery or Arcade,
you just need to go to Admin/current theme
Add button there,
To add button for arcade,
you use the code <a href="http//:www.your adress/index.php?action=arcade">ARCADE</a>
For example, <a href="http//:www.etkiweb.com/forum/index.php?action=arcade">OYUN</a> for my webpage.
Do the same for gallery mod, i.e
<a href="http//:www.your adress/forum/index.php?action=gallery">GALLERY</a>

Quote from: Cool999 on August 01, 2007, 10:02:26 AM
Will Ad management MOd will Work with this?
I didn't check that one brother,
However, you can try to change the theme folder name as EsRaReNGiZ-FLASH, then apply all the mods that I gave. You may need to do the same thing for Addmanagement mod. I.e don't select each table to put add.

thanks all worked....tho the shoutbox worked without uploading sbox.template tho i done this anyway to be safe
the only prob i have with it is that its at the bottom of the forums and i would like it at the top...please advise

also in forum error log i am getting this all the time for all members

flint   Today at 09:41:21 PM 
86.31.169.171     c3fe8ef5e31626d1c1a7c2de3cc0613f 
http://www.ukmods.co.uk/forums/index.php?action=featuresettings;sa=sbox;sesc [nofollow] 
8: Undefined index: welcome_admin
File: /home/flint842/public_html/forums/Sources/Subs.php
Line: 2742

   flint   Today at 09:41:18 PM 
86.31.169.171     c3fe8ef5e31626d1c1a7c2de3cc0613f 
http://www.ukmods.co.uk/forums/index.php?action=featuresettings [nofollow] 
8: Undefined index: welcome_admin
File: /home/flint842/public_html/forums/Sources/Subs.php
Line: 2742

please help again....many thanks

TosTos

#26
Quote from: flint on August 02, 2007, 04:43:48 PM
also in forum error log i am getting this all the time for all members

flint   Today at 09:41:21 PM 
86.31.169.171     c3fe8ef5e31626d1c1a7c2de3cc0613f 
http://www.ukmods.co.uk/forums/index.php?action=featuresettings;sa=sbox;sesc 
8: Undefined index: welcome_admin
File: /home/flint842/public_html/forums/Sources/Subs.php
Line: 2742

   flint   Today at 09:41:18 PM 
86.31.169.171     c3fe8ef5e31626d1c1a7c2de3cc0613f 
http://www.ukmods.co.uk/forums/index.php?action=featuresettings 
8: Undefined index: welcome_admin
File: /home/flint842/public_html/forums/Sources/Subs.php
Line: 2742

this is related with one of your mods applied. When you upload the theme on fresh SMF, you don't get any error. Hence, I am sorry but I don't know the answer to solve that problem.
Also, I couldn't understand this part. Can you show what you mean using some pictures? the only prob i have with it is that its at the bottom of the forums and i would like it at the top...

TosTos

#27
Quote from: ivnj on August 02, 2007, 02:42:16 PM
But isn't flash heavy bandwidth?

Thanks,
ivnj
No. Actually, flash is faster because flash headers have smaller size than images.
When people connect your page second time, I guess those flash files will be recognized by cookies. Hence, I don't think it creates heavy bandwidth. Thanks for the question to clearfy the issue.

flint

here are pic as requested
many thanks


TosTos

#29
Quote from: flint on August 03, 2007, 06:49:36 PM
here are pic as requested
many thanks


If you want that to be on the home page only, then we edit boardindex.template. However, you need to erase the code that you applied on index.template before you begin.
first search for
if (function_exists('sbox')) sbox(); because you added this previously
Then, erase it
Next
From boardindex.template
Search for
new (is it new?), collapse_href (href to collapse/expand), collapse_image (up/down iamge),
   and boards. (see below.) */

Add this code after that one
if (function_exists('sbox')) sbox();
Then you are done.
However, if you want the shoutbox to be seen at everypage, then you edit index.template, not boardindex.template
search for
// The main content should go her
Add before that one
if (function_exists('sbox')) sbox();
I think this helps :)

flint

one more question (i hope lol sorry)

on the forums at the bottom of the first post it says

_________(¯`·.(¯`·. (¯`·.(¯`·. Here you can see some Advertisements, or Announcements .·´¯).·´¯) .·´¯).·´¯)________


how do i do so??? i changed the one in the admin cp/current theme/ HTML code to be displayed below the first message in each topic 
HTML code will be displayed below the first message in each topic. You can use to add a banner, or make global announcements etc

in there
but is showed that above where you have it saying
(¯`·.(¯`·. Here you can see some Advertisements, or Announcements .·´¯).·´¯) .·´¯).·´¯)________

any help would be great thank you and sorry for bugging you again

TosTos

Quote from: flint on August 07, 2007, 06:35:58 PM
one more question (i hope lol sorry)

on the forums at the bottom of the first post it says

_________(¯`·.(¯`·. (¯`·.(¯`·. Here you can see some Advertisements, or Announcements .·´¯).·´¯) .·´¯).·´¯)________


how do i do so??? i changed the one in the admin cp/current theme/ HTML code to be displayed below the first message in each topic 
HTML code will be displayed below the first message in each topic. You can use to add a banner, or make global announcements etc

in there
but is showed that above where you have it saying
(¯`·.(¯`·. Here you can see some Advertisements, or Announcements .·´¯).·´¯) .·´¯).·´¯)________

any help would be great thank you and sorry for bugging you again
That is fine,
You need to write the codes from admin/current theme
As you said, there is a box to write to codes. If you write codes in the correct way, then it will work.
For example <a href"http://www.etkiweb.com"><img src="http://www.etkiweb.com/forum/Themes/etkiwebflash/images/logo.gif"></a>
Or, you can write the codes like <script>............</script>
However, copying and pasting may not work there. You may need to write word by word.
If you want to change the sentence _________(¯`·.(¯`·. (¯`·.(¯`·. Here you can see some Advertisements, or Announcements .·´¯).·´¯) .·´¯).·´¯)________
, search that in display.template
Then, you can erase, or change it.

flint

#32
That is fine,
If you want to change the sentence _________(¯`·.(¯`·. (¯`·.(¯`·. Here you can see some Advertisements, or Announcements .·´¯).·´¯) .·´¯).·´¯)________
, search that in display.template
Then, you can erase, or change it.

[/quote]


am unable to find this code


i am also wondering how i can change or get rid os the fav soccer team and star sign on the forums??

TosTos

Quote from: flint on August 12, 2007, 07:29:30 PM
Quote from: tostos on August 12, 2007, 07:29:30 PM
That is fine,
If you want to change the sentence _________(¯`·.(¯`·. (¯`·.(¯`·. Here you can see some Advertisements, or Announcements .·´¯).·´¯) .·´¯).·´¯)________
, search that in display.template
Then, you can erase, or change it.



am unable to find this code


i am also wondering how i can change or get rid os the fav soccer team and star sign on the forums??
I am sorry for not helping today. I will edit this message when I aqm available, and I send an pm to inform about my message. It is in display.template. Search some part of it. There is also an answer for your other question. I need to check the codes. However, I am very busy these days. Please wait for my reply. You will get the answer in this message later. Thanks

Cool999

Thanks for the Codes to Remove the Country flag and color from the top.

Works fine for me.
THanks

Quote from: TosTos on July 31, 2007, 01:45:21 AM
Quote from: galdalf1923 on July 30, 2007, 06:15:23 PM
Thank you very much Tostos! I think it's useful.
Thank you to Bro,
Quote from: ivnj on July 30, 2007, 10:09:02 PM
Nice job.  Love the theme.  But 2 things.

1.  It doesn't auto install.  I have to unzip it and uplaod the folder to my site then install it.

2.  How do I remove the line on the top with the butttons to select the colors.  So in other words have only 1 color.  Remove the option to select other colors. al

And also the english and turkish buttons on the top.

Thanks,
ivnj
You can remove the color bar from admin/current theme. You see the bar even if you don't allow your members to select since you are admin.
If you want to remove everything including language, search for
<div class="catbg" style="padding: 4px;">
<a href="?language=turkish"><img align="middle" src="', $settings['images_url'], '/turkish.gif" width="21" height="13" alt="Turkish" title="Turkish" /></a>   
<a href="?language=english"><img align="middle" src="', $settings['images_url'], '/english.gif" width="21" height="13" alt="English" title="English" /></a>';

if(isset($settings['allow_color_change']) && $settings['allow_color_change'] == 'box')
echo ' <form action="', $scripturl, '" method="post" class="smalltext">
<select name="options[theme_color]">
<option value="black" ' ,$settings['theme_main_color'] == 'black' ? 'selected="selected"': '', '>black</option>
<option value="blue" ' ,$settings['theme_main_color'] == 'blue' ? 'selected="selected"': '', '>blue</option>
<option value="lilac" ' ,$settings['theme_main_color'] == 'lilac' ? 'selected="selected"': '', '>lilac</option>

<option value="hazel" ' ,$settings['theme_main_color'] == 'hazel' ? 'selected="selected"': '', '>hazel</option>
<option value="pink" ' ,$settings['theme_main_color'] == 'pink' ? 'selected="selected"': '', '>pink</option>
<option value="yellow" ' ,$settings['theme_main_color'] == 'yellow' ? 'selected="selected"': '', '>yellow</option>
<option value="olive" ' ,$settings['theme_main_color'] == 'olive' ? 'selected="selected"': '', '>olive</option> </select> <input type="submit" name="submit" value="Change" style="width: 11ex;" />
</form></div></body></html>';

// colorbars if(isset($settings['allow_color_change']) && $settings['allow_color_change'] == 'bars')
echo '

<form action="', $scripturl, '" method="post" class="smalltext">
<input style="border: solid 2px white; background-color: black; color: black; width: 40px; font-size: 2px;" type="submit" value="black" name="options[theme_color]"/>
<input style="border: solid 2px #4DB45D; background-color: #c0ff3e; color: #c0ff3e; width: 40px; font-size: 2px;" type="submit" value="hazel" name="options[theme_color]"/>
<input style="border: solid 2px #ffe7ba; background-color: #ffff00; color: #ffff00; width: 40px; font-size: 2px;" type="submit" value="yellow" name="options[theme_color]"/>
<input style="border: solid 2px #A185D6; background-color: #9933FF; color: #9933FF; width: 40px; font-size: 2px;" type="submit" value="lilac" name="options[theme_color]"/>
<input style="border: solid 2px blue; background-color: #000066; color: #000066; width: 40px; font-size: 2px;" type="submit" value="blue" name="options[theme_color]"/>
<input style="border: solid 2px #4DB45D; background-color: #00CC66; color: #00CC66; width: 40px; font-size: 2px;" type="submit" value="olive" name="options[theme_color]"/>
<input style="border: solid 2px #D47BC5; background-color: #990066; color: #990066; width: 40px; font-size: 2px;" type="submit" value="pink" name="options[theme_color]"/></form>

</div>
in index.template and erase them all. If you get an error, erase } before // Show a linktree (vB Clone).  This is that thing that shows "My Community | General Category | General Discussion"..
About auto installation, you need to arrange permissions. Chmods should be 777 for theme directory. I have installed the theme lots of time, and it has been tested lots of time by customization team.
Thank you for your comment,
Dear friends, If I can be available, I work on important mods to support my theme. Actually, I was able to modify mods for the theme, and they worked. However, I did them manually. I need to write them so that you can use the packet manager. I would like to help you so that you can use the theme efficiently. However, I have comprehensive exams. After I take my comprehensive exams, I will be here to help you all. I hope you understand my position. Untill then, you try to get used to the theme, and enjoy.
Thanks for all comments.

Cool999

Hello bro,

When i change the color in the Admin, but its not changing????

What should i do.

Thanks

TosTos

#36
Quote from: Cool999 on August 17, 2007, 12:30:23 AM
Hello bro,

When i change the color in the Admin, but its not changing????

What should i do.

Thanks
Don't worry. Of course it will be changed. Because of the cookies, you see that. However, if you ask another user what the color he sees, then he will verify the color you selected. For example, if you choose a color (choose different color from your default color) from the color option on the index.template, and later  logout, then you will be the guest. Then, you will realize you use the color you selected from admin/current theme.

Quote from: flint on August 12, 2007, 07:29:30 PM
Quote from: tostos on August 12, 2007, 07:29:30 PM
That is fine,
If you want to change the sentence _________(¯`·.(¯`·. (¯`·.(¯`·. Here you can see some Advertisements, or Announcements .·´¯).·´¯) .·´¯).·´¯)________
, search that in display.template
Then, you can erase, or change it.

am unable to find this code


i am also wondering how i can change or get rid os the fav soccer team and star sign on the forums??
Before making code changes in the files, please get your backup.
Search ',$txt['smf11140'],' in display.template
change it to whatever you like (e.g. FORUM ADDS), or erase.
Also, to erase Favorite Team and your horoscope part, search for
// Favorites by TosTos
if (empty($message['member']['options']['Takimim'])) {
             $message['member']['options']['Takimim']='Other';
         }
         echo '<fieldset>
            <legend><b>',$txt['smf11130'],'</b></legend>
           ',$txt['smf11132'],' :', $message['member']['options']['Takimim'] , ' <img src="', $settings['images_url'], '/', $message['member']['options']['Takimim'], '.gif" /> </fieldset>';        
if (empty($message['member']['options']['Burcum'])) {
             $message['member']['options']['Burcum']='Hiden';
         }
         echo '<fieldset>
            <legend><b>',$txt['smf11131'],'</b></legend>
           ',$txt['smf11133'],' : ', $message['member']['options']['Burcum'] , ' <img src="', $settings['images_url'], '/', $message['member']['options']['Burcum'], '.gif" /> </fieldset>';

in the display.template
Also, you will need to erase some parts from profile.template
search for <tr>                     <td><b>',$txt['smf111481'],'</b></td>                     <td><select name="default_options[Burcum]">
<option', @$context['member']['options']['Burcum'] == 'Capricorn' ? ' selected="selected"' : '', '>Capricorn</option>                     <option', @$context['member']['options']['Burcum'] == 'Aquarius' ? ' selected="selected"' : '', '>Aquarius</option>                     <option', @$context['member']['options']['Burcum'] == 'Pisces' ? ' selected="selected"' : '', '>Pisces</option>                     <option', @$context['member']['options']['Burcum'] == 'Aries' ? ' selected="selected"' : '', '>Aries</option>                     <option', @$context['member']['options']['Burcum'] == 'Taurus' ? ' selected="selected"' : '', '>Taurus</option>                     <option', @$context['member']['options']['Burcum'] == 'Gemini' ? ' selected="selected"' : '', '>Gemini</option>                     <option', @$context['member']['options']['Burcum'] == 'Cancer' ? ' selected="selected"' : '', '>Cancer</option>                     <option', @$context['member']['options']['Burcum'] == 'Lion' ? ' selected="selected"' : '', '>Lion</option>                     <option', @$context['member']['options']['Burcum'] == 'Virgo' ? ' selected="selected"' : '', '>Virgo</option>                     <option', @$context['member']['options']['Burcum'] == 'Libra' ? ' selected="selected"' : '', '>Libra</option>                     <option', @$context['member']['options']['Burcum'] == 'Scorpion' ? ' selected="selected"' : '', '>Scorpion</option>                     <option', @$context['member']['options']['Burcum'] == 'Sagittarius' ? ' selected="selected"' : '', '>Sagittarius</option>                     <option', @$context['member']['options']['Burcum'] == 'Hiden' ? ' selected="selected"' : '', '>Hiden</option>                        <option', @$context['member']['options']['Burcum'] == 'Oglak' ? ' selected="selected"' : '', '>Oglak</option>                     <option', @$context['member']['options']['Burcum'] == 'Kova' ? ' selected="selected"' : '', '>Kova</option>                     <option', @$context['member']['options']['Burcum'] == 'Balik' ? ' selected="selected"' : '', '>Balik</option>                     <option', @$context['member']['options']['Burcum'] == 'Koc' ? ' selected="selected"' : '', '>Koc</option>                     <option', @$context['member']['options']['Burcum'] == 'Boga' ? ' selected="selected"' : '', '>Boga</option>                     <option', @$context['member']['options']['Burcum'] == 'Ikizler' ? ' selected="selected"' : '', '>Ikizler</option>                     <option', @$context['member']['options']['Burcum'] == 'Yengec' ? ' selected="selected"' : '', '>Yengec</option>                     <option', @$context['member']['options']['Burcum'] == 'Aslan' ? ' selected="selected"' : '', '>Aslan</option>                     <option', @$context['member']['options']['Burcum'] == 'Basak' ? ' selected="selected"' : '', '>Basak</option>                     <option', @$context['member']['options']['Burcum'] == 'Terazi' ? ' selected="selected"' : '', '>Terazi</option>                     <option', @$context['member']['options']['Burcum'] == 'Akrep' ? ' selected="selected"' : '', '>Akrep</option>                     <option', @$context['member']['options']['Burcum'] == 'Yay' ? ' selected="selected"' : '', '>Yay</option>                     <option', @$context['member']['options']['Burcum'] == 'Gizli' ? ' selected="selected"' : '', '>Gizli</option>                     </select></td>            </tr><tr>                     <td><b>',$txt['smf11148'],'</b></td>                     <td><select name="default_options[Takimim]">                     <option', @$context['member']['options']['Takimim'] == 'Fenerbahçe' ? ' selected="selected"' : '', '>Fenerbahce</option>                     <option', @$context['member']['options']['Takimim'] == 'Galatasaray' ? ' selected="selected"' : '', '>Galatasaray</option>                     <option', @$context['member']['options']['Takimim'] == 'Besiktas_JK' ? ' selected="selected"' : '', '>Besiktas_JK</option>                     <option', @$context['member']['options']['Takimim'] == 'Trabzonspor' ? ' selected="selected"' : '', '>Trabzonspor</option>                     <option', @$context['member']['options']['Takimim'] == 'Gençlerbirligi' ? ' selected="selected"' : '', '>Genclerbirligi</option>                     <option', @$context['member']['options']['Takimim'] == 'Diger' ? ' selected="selected"' : '', '>Diger</option><option', @$context['member']['options']['Takimim'] == 'England' ? ' selected="selected"' : '', '>England</option>                     <option', @$context['member']['options']['Takimim'] == 'Germany' ? ' selected="selected"' : '', '>Germany</option>                     <option', @$context['member']['options']['Takimim'] == 'Spain' ? ' selected="selected"' : '', '>Spain</option>                     <option', @$context['member']['options']['Takimim'] == 'France' ? ' selected="selected"' : '', '>France</option>                     <option', @$context['member']['options']['Takimim'] == 'Italy' ? ' selected="selected"' : '', '>Italy</option>                     <option', @$context['member']['options']['Takimim'] == 'Turkey' ? ' selected="selected"' : '', '>Turkey</option>                     </select></td>                           </tr>

and erase.
Please try these. I haven't checked, but should work.

Moreover, if you are interested in addmanagement mod for this theme,
I will give the add management mod arrangements for the theme later. Cool999 is using the modification that I gave.

Cool999

I have cleared the Cookies, and also have asked my friend, but the color is still same, its not changing

Thanks

TosTos

It is working man. I have just changed your color using the admin login that you gave me yesterday. Please check your webpage now. I haven't changed any code.

Cool999

#39
Thanks bro,

Can u tell me one thing-

I want to remove the Language/FLAG Icons on the Top, but theme selection should remain there.

Thanks

Advertisement: