News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

BlackRainV.2

Started by Crip, August 18, 2007, 01:53:58 AM

Previous topic - Next topic

lazym4n2010

THEME: Black Rain v.2 (1.1.12)

Crip

index.template.php
Find this =>

$current_action = 'admin';
if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))

==>Replace With ==>

$current_action = 'admin';
if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm', 'forum')))


Lower down  find:

// How about the [home] button?
echo '<ul><li', $current_action == 'home' ? ' id="active"' : '', '><a href="', $scripturl, '"><span>'.$txt[103].'</span></a></li>';


==Add this "after" [home] ==>

// How about the [forum] button?
echo '<ul><li', $current_action == 'forum' ? ' id="active"' : '', '><a href="', $scripturl, '?action=forum"><span>'.$txt['tp-forum'].'</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

lazym4n2010

Hi Crip, i did what you said and i have a normal forum button , as well as the previous forum button?
I've attached template file if u would like to see yourself?
thanks for your help!

busterone

Try this one. Make sure you keep a backup of the original before you overwrite the one on the server. (always best to play safe :)  )

lazym4n2010

Ah thanks alot busterone, its worked! i'm not sure what u changed , i'll check it out later
nice one

busterone

You had the forum button code meant for the default theme inserted into the file, as well as adding the code that Crip supplied. The button code for this theme is different from the default theme code.
Good luck.  :)

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

busterone


lazym4n2010

So that was what was causing it, I'm trying to learn to write it myself so hopefully i'll be able to solve these little snags myself :)
Also i'm not sure if blackrain v2 is causing this other problem so  i'm not sure if i'm posting this in the right section:-
when someone tries to register they are redirected back to the register page?without registering them, sort of loops back, i've installed stopforumspam but i'm not sure if this problem is due to that mod? Should i replace all registration files with default files supplied by smf?

Crip

theme could not cause that .. must be something else ?
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

lazym4n2010

I'm not sure i've tried replacing registrtion.php manageregistration etc to default files from smf with no luck

my problem has been solved here :
http://www.smfsupport.com/support/general-support/can't-register-32023/ [nofollow]

but because i'm not hosted by smf for free they can't help me .,,. :(

my forum is at a standstill

busterone

Quote from: lazym4n2010 on December 02, 2010, 08:47:43 AM
I'm not sure i've tried replacing registrtion.php manageregistration etc to default files from smf with no luck

my problem has been solved here :
http://www.smfsupport.com/support/general-support/can't-register-32023/ [nofollow]

but because i'm not hosted by smf for free they can't help me .,,. :(

my forum is at a standstill
I suggest posting a topic in the 1.1.x support boards for this. Explain the issue and what you have done so far. 
Someone here will be able to help you instead of smfforfree.

lazym4n2010

Hi,
i've checked my forum error log and i got this result:

8: Undefined index: REQUEST_URL
File: /wowspaces.com/htdocs/Sources/Subs.php
Line: 2740

and these are the lines in question from the sub:
// For session check verfication.... don't switch browsers...
   $_SESSION['USER_AGENT'] = $_SERVER['HTTP_USER_AGENT'];

   // Hand off the output to the portal, etc. we're integrated with.
   if (isset($modSettings['integrate_exit'], $context['template_layers']) && in_array('main', $context['template_layers']) && function_exists($modSettings['integrate_exit']))
      call_user_func($modSettings['integrate_exit'], $do_footer && !WIRELESS);

I have two subs.php in the sources folder , one original and the other changed

busterone

If this is tied to the registration issue that you posted about earlier, then it is definitely not a theme issue.
The two subs.php in your sources folder is normal if you have installed any mods to your forum.
One is subs.php, and the other will be subs.php~ , which is the original before the mod installation.
I don't mean to sound like a broken record, but you still need to follow my instructions and post your issue in the 1.1.x support board instead of here.
This topic is for theme issues with Crip's theme.  If you post in the support board for 1.1.x, your issue will be seen by many more that may be able to help you, and much quicker than here. Many of the coders and support helpers may not even look in this topic unless they use this theme themselves.   :)

lazym4n2010

Hi ,
Okay thank you I just wanted confirmation that it has nothing to do with the custom theme !
I think it's a tinyportal issue
and yes i followed your advice and posted on 1.1x support board :)
much appreciated
thank you

lazym4n2010

Hi -problem has been solved: panels + blocks from TinyPortal mod were conflicting with the registration!
;D ;D ;D ;D

Carotio

Anywhere else than here to download this theme?
The themes section seems to be offline. I just get a white page.
Version adjusted for RC4, naturally.

Taler dansk, speak English, spreche Deutsch, parle français, forstår svenska/norsk, comprendo español
Using SMF 2.0 RC5

Crip

..no sir , or there shouldn't be!
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

Crip

Note:2.0 RC5 Version Now Avaliable
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

ddabcd277

Hello Crib,

Nice theme! I love it.  :)

Can you help with a little problem? I have attached two pictures to depict the bug better. First pictures is with Google Chrome and the second one is with Mozzila. As you can see the tabs are a bit outside of the outlines of the forum when opned with Mozzila.

Is it possible that to be corrected?

Thanks,

Advertisement: