In post.php, search for
$title =
Then change to whatever you like
You are not logged in. Please login or register.
PunBB Forums → Posts by elbekko
In post.php, search for
$title =
Then change to whatever you like
Yes, well, the reason I didn't make it a link because if your style is set to underline links, you'd have small lines under your smilies
Naturally, this works too, and I could eliminate the underlining with CSS, but if you have a bunch of smilies that would really increase page size =/
It's the box If you change that in CSS every box on the form will be gone... so it's best to just edit out the box div in main.tpl
header.php, search for pun_title and add <center></center> to it.
Make sure the guest's style is set.
sha1
I use FileZilla, both as client and server. And SmartFTP too.
Still working on that newsletter
grass
What script is it?
Errm, you can download the code to break an md5 encryption in less than an hour. Didn't try it yet, but I certainly will.
http://www.stachliu.com/collisions.html
Kinda proves it's hackable =/
And how would something qualify as 'Similar'? The topic name is 50% or up the same?
Look in your config.php and check if $db_type is set.
It exists...
You forgot a } somewhere
if($pun_user['group_id 1'])
Change that to
if($pun_user['g_id'] == 1)
<a href="http://www.google.com"><img src="link"></a>
Make that
echo '<a href="http://www.google.com"><img src="link"></a>'
and you're getting the hang of it
Hey guys,
I'm currently making an analogue clock in PHP with the GD library by using the standard gonimetric formulas to calculate the coordinates for my hour indicator lines
Now, it seems to me
a) My formula is messed up
or
b) PHP doesn't know how on earth to do this
I'll show you my formula then:
$m_x = ZX + (cos($m_angle) * $r_minute);
This line is to calculate the x value of the coordinate where my minute indicator line ends in.
ZX is the definition of the x value of the center's coordinate (400).
$m_angle is calculated with $min * 6 and $r_minute is the length of my minute indicator.
Seems fine to me =/ Now, you can see what PHP does:
Image
Now don't come around telling me this is correct... =P
I've added a little info on what line represents what angle too.
If anyone could help me sort this out... it would be appreciated =P
-- Bekko
Here's my current code, with all the information display and useless lines in it =P
Pastebin post
EDIT: I solved it The problem was because I didn't do a conversion to radians.
http://icstrategy.midgetforhire.com/tes … /Clock.php <== whee
Soo.... you want to have a specific forum where you post blog posts, the first post of that thread is your blog post and the rest are comments. Sounds easy enough =P I bet someone did this (isn't there a news mod or something?)
Still the same thing Your router works as a proxy, so every user that comes through has that IP
Why not use .htaccess to protect single files?
in your CSS, search for #announce
If it isn't there, create this:
div#announce {
background-color: #FF0000;
}
Change the colour to whatever you want
Well, first of all you use the Miniportal mod.
Then, in one of the boxes, put this:
<pun_cats>
In header.php, you put this somewhere:
$result = $db->query("SELECT id, cat_name FROM ".$db->prefix."categories");
$list = '<ul>';
while($row = $db->fetch_assoc($result))
{
$list .= '<li><a href="index.php?cid='.$row['id'].'">'.$row['cat_name'].'</a></li>';
}
$list .= '</ul>';
$tpl_main = str_replace('pun_cats', $list, $tpl_main);
This should do it
Running Zen Cart for the cart but that sucks so Im ditching it. If you can tell me how to display my PunBB header/footer in my order form I will use that.
# Header:
define('PUN_ROOT', './');
require PUN_ROOT.'include/common.php';
$page_title = pun_htmlspecialchars($pun_config['o_board_title']) . " / Title";
define('PUN_ALLOW_INDEX', 1);
require PUN_ROOT.'header.php';
# Footer:
<?php
$footer_style = 'index';
require PUN_ROOT.'footer.php';
?>
PunBB Forums → Posts by elbekko
Powered by PunBB, supported by Informer Technologies, Inc.