yes, I tried that, not working
Pages 1
You are not logged in. Please login or register.
ochiba forum → Posts by Chymæra
Pages 1
yes, I tried that, not working
Ok, in an effort to escape my old problem, I resorted to using ochiba on another host - dreamhost! Little did I know of their mod_rewrite Issues :-/
I tried the fix you proposed here http://ochiba.x-maru.org/support/viewto … =6&p=2 but sadly it didn't work... any other ideas?
soooooooooo, any ideas? I'm pretty much screwed over here :-/
I did not modify any of those files, but just to make sure I overwrote them with the defaults. Still, no proper replies.
Anyway, just for the sake of double checking, tell me if these are the exact same versions in use on the default imageboard:
http://pastebin.com/m7ee5b505 - php
http://pastebin.com/m4a53e531 - tmpl
so, any ideas? I'm pretty much desperate over here :-/
this is my image.tmpl - I've never tampered with this specific file, so it should be identical with the default
I just reinstalled everything, well ok, I kept the tripcodes but that's everything - and I still get the same issue :-/
could the problem lie with DB and HTML_Template_IT ?
also, where exactly is the database entry fetched?
Edit: anyway, I checked my db, tell me if I'm wrong but apparently the entries are sane http://i30.tinypic.com/x1yc8o.png ...
where does ochiba store post id's ? and which php include fetches them?
Hi, I have some questions about how I can improve the posting system.
First off, how can I make the system accept posts without a name? I mean I know how to change the class in post.tmpl, but that's just the colouring of the text...
Secondly, I can't seem to be able to post without a tripcode (neither on my nor on the "sample" ochiba imageboard) - even if I click ok on that warning dialogue.... I'd also like to disable the warning dialogue altogether.
These Problems could also be worked around by inserting " " as the defaultr name/tripcode, but that would cause plenty of other problems ^^
Secondly, for some reason or another, my imageboard at http://pinkweb.org/p won't show any picture preview... also, worrying :P
Lastly, and probably my greatest problem - I can't seem to be able to reply to any posts, no matter what I do, my replies get bunched in the respective sub-board. Also, I would like to get rid of the entire "category" interface in the post window - how would I do that?
Is there any way to assign a different tripcode to each mod? This should be quite important since I want to be able to immediately revoke the mod privileges of any one mod who screws up, without locking all the other mods out until I can contact them....
Ever wanted to change the site appearance a wee bit for each of your sub-boards? A different colour for the headers maybe, or the background, or your standard font, or all of those? Here's a how-to for those who share my customization need:
It's really easy as pie, just add the following code to your page.php file:
///colour-code
$path_to_color = array("/a" => "#abc",
"/b" => "#000",
"/c" => "#cab",
"/d" => "#fff"
);
$path = parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH);
//echo $path; //uncomment if the code fucks up
if(isset($path_to_color[$path])){
$tmpl->setVariable("COLOR", $path_to_color[$path]);
}else{
$tmpl->setVariable("COLOR", "#aaa");
}
///end colour-code
Naturally, you will need to specify your own sub-boards and colours in the first few lines.
Afterwards just add {COLOR} at any point you want in your templates (including - of course - css specifications _within_ the templates) The code will _NOT_ work if you add {COLOR} in your .css file.
For multiple colour changes just introduce more variables.
atm I've only just used/tested this for colours because they're the most handy way of customizing sub-boards whilst maintaining consistency. - But there's no reason why the code wouldn't work for other parameters: width, font-weight, font-family, even div id or class names. Maybe this could even serve as a starting point for some un-hackish way of stylizing sub-boards autonomously. Just take it from here and start experimenting.
Have phun kids.
Pages 1
ochiba forum → Posts by Chymæra
Powered by PunBB, supported by Informer Technologies, Inc.
Generated in 0.024 seconds (81% PHP - 19% DB) with 5 queries