Flagrant

Started by Crip, March 03, 2009, 08:58:15 PM

Previous topic - Next topic

Crip

Flagrant_alt

  • Fixed .. updated with new zip file
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

morpheus4517

#161
i can't figure out what i'm doin wrong! i went to change my logo on flagrant and no now logo will appear! as well i would like to enlarge the area where the logo is!  please crip can u help me? it's driving me NUTZ!

Crip

After changing logo/banner you somtimez need to log-out + log-on + & clear your browser cache , history , sessions , cookies -- then a few Hard-Refresh >> Command + R ..your image then should appear. :)
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

Linda.V

Hello Crip,

Do you maybe know if Flagrant_alt 2.0 RC3 can be used with the new version SMF 2.0 RC4 and if not will you please update this theme because I really LOVE it  :)

Greetz

Crip

Flagrant204_alt UpDated with 2.0 RC4 ...
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

Linda.V

Oké Crip, thanks, you made my day but... when I click on > Customize > Themes > only a blanco page and no themes  :(

Crip

#166
strange .. i never saw that before.. i'm clueless??

p.s. = you did upgrade RC4?
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

Linda.V

Now I see the themes again Crip, the problem was this

Thanks again for updating this theme that my members and I love very much  :)

Crip

I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

Nakioki

Hi crip

very nice theme indeed... I was wondering. I had a shoutbox on my site. And when I installed this theme it seems like I couldn't get it back on there. Is there a way to use the ShoutBox mod with this theme?

BTW, I have 1.1.12

Thank you

Crip

I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

RCmod

#171
I'm working on a custom Yellow version of Flagrant and need a little help. I'm trying to add the ajax chat tab to the topmenu and this is what I have so far.



As you can see the chat tad isnt right. I know it has to do with the css code in my index.templet.php file being incorrect but I honestly dont know what to snip from the css to correct this. Here is the code I have added to the index.templet.php file to get to this point.

// If the user is a guest, also show [register] button.
            if ($context['user']['is_guest'])
               echo '<li><a ' , $current_action=='register' ? ' class="current"' : '' , ' href="', $scripturl, '?action=register"><span>' , $txt[97] , '</span></a></li>';

            // the [chat] button
   $chatPath = str_replace("index.php", "chat/index.php", $scripturl);
   $num = (empty($modSettings['enableChatButtonNo'])) ? 0 : count(chatOnlineUsers());
   echo $context['browser']['is_ie4'] ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '', '
      <td valign="top" class="maintab_back">
         <a href="', $chatPath, '"', empty($modSettings['chatPopUp']) ? 'target="_blank"' : ' onclick="openWindow(this.href);this.blur();return false;"', '>', $txt['chat'], ($num > 0) ?  ('('.$num.')') : '' , '</a>
      </td>';   
               
            // Otherwise, they might want to [logout]...
            if ($context['user']['is_logged'])
               echo '<li><a ' , $current_action=='logout' ? ' class="current"' : '' , 'href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '"><span>' , $txt[108] , '</span></a></li>';


Everything after "// the [chat] button" and before "// Otherwise, they might want to [logout]..." is the code that makes the chat link appear, its jut appearing incorrectly, although its working correctly.

Could one of you theme gurus please help me fix this?

Thanks for your time.

Crip

try this:

// The [chat] button
   echo '<li><a ' , $current_action=='chat' ? ' class="current"' : '' , ' href="', $scripturl, '?action=chat"><span>Chat</span></a></li>';
=============================================================================================
-=============================================================================================
=============================================================================================
// If the user is a guest, also show [register] button.
            if ($context['user']['is_guest'])
               echo '<li><a ' , $current_action=='register' ? ' class="current"' : '' , ' href="', $scripturl, '?action=register"><span>' , $txt[97] , '</span></a></li>';

            // the [chat] button
   $chatPath = str_replace("index.php", "chat/index.php", $scripturl);
   $num = (empty($modSettings['enableChatButtonNo'])) ? 0 : count(chatOnlineUsers());
   echo $context['browser']['is_ie4'] ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '', '
      <td valign="top" class="maintab_back">
         <a href="', $chatPath, '"', empty($modSettings['chatPopUp']) ? 'target="_blank"' : ' onclick="openWindow(this.href);this.blur();return false;"', '>', $txt['chat'], ($num > 0) ?  ('('.$num.')') : '' , '</a>
      </td>';   
               
            // Otherwise, they might want to [logout]...
            if ($context['user']['is_logged'])
               echo '<li><a ' , $current_action=='logout' ? ' class="current"' : '' , 'href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '"><span>' , $txt[108] , '</span></a></li>';
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

RCmod

Crip thank you very much! That worked perfectly! While I'm at it thank you for a wonderful theme and all your devotion to helping people with it. You ROCK!

RCmod

Oops, premature post. The tab looks right but when clicked on nothing happens.

Crip

just look at Default URL for it and add it ..
..   You 'may', 'need', 'to', 'add', 'chat', 'in'))); => current_action((
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

RCmod

Crip with your help I was able to get the Chat button to look and work correctly. I was able to do a "target="blank" command also so the chat would open in a new tab/window. The final code that made this work with Flagrant looks like this.

// The [chat] button
   echo '<li><a ' , $current_action=='chat' ? ' class="current"' : '' , ' href="', "chat/index.php", '?action=chat" "target="blank"><span>Chat</span></a></li>';


So for anyone else with a similar issue this might help you also. The only thing others might need to change would be the link to the chat index.php file. On our server its in smf/chat/index.php yours might be something like forum/chat/index.php

Anyway.... thanks again Crip for your support with Flagrant and your patience with my problem.

Crip

I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

MarkyP

Hi Crip,

Hoping you can help me with a quick question. First time user of flagrant.

Fresh install of 2.0 RC1 with flashchat installed. Everything works perfectly.

When I install FlagrantRC4 it works fine but i have lost the "users in chat" notification that is on the default theme. Any ideas?


Thanks

Crip

I think we talked this over on my-site ;)
------------------------------------------
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

Advertisement: