Connorhd I found a bug. On the news page when my other admin commented to the post his post showed on the news instead of mine. I hope you have a fix.
Edit: it also says its posted by me when its not
You are not logged in. Please login or register.
PunBB Forums → Posts by shinko_metsuo
Connorhd I found a bug. On the news page when my other admin commented to the post his post showed on the news instead of mine. I hope you have a fix.
Edit: it also says its posted by me when its not
English version
<?php
// Language definitions used in gallery.php
$lang_gallery = array(
// Navigation and sections
'Page Title' => 'Gallery',
'Error Annonce' => 'ERROR :',
'Navigation' => 'Navigation:',
'Page Desc Up' => 'Send an image',
'Page Desc Gal' => 'All images sent by the members',
'Title Form' => 'Title:',
'Desc Form' => 'Description:',
'Img Form' => 'Your image:',
'Button Up' => 'Download',
'Add Time' => 'Send it:',
'Add By' => 'By:',
'Add Picture' => '[Add an Image]',
'Moderation' => '[Moderate images]',
'Modo_del' => '[Remove image]',
// Miscellaneous
'Upload Ok' => 'Your image has been uploaded successfully.',
'Post Title' => 'Post an Image in the gallery:',
'Image Info' => 'Details of the image',
'Image Use' => '<strong>Use:</strong><br />The form below enables you to send an image in the gallery of the site. The image must be with format GIF or JPG, with a maximum size of <MAX_SIZE>. Do not forget to add a title and a small description of the image.',
'Image Regle' => '<strong>Caution:</strong><br />The team of the site reserves the right to remove your image without notice. All images against the terms of use of the site will be removed. Any abuse will be immediately sanctioned.',
'Image Desc' => '(Indicate a short description of your image)',
'Del Ok' => 'The image was removed successfully.',
// Error
'Error Guest' => 'Only members of the site can add images to the gallery.',
'Error Title' => 'You did not give a title to your image.',
'Error Description' => 'You did not give your image a description.',
'Error Too large ini' => 'File too large. The server refuses its remote loading.',
'Error Too large' => 'The size of the file exceeds the authorized maximum',
'Error Partial upload' => 'Partially downloaded file.',
'Error No file' => 'You did not select a file to be downloaded.',
'Error No tmp directory' => 'PHP could not safeguard the file sent in a temporary repertory.',
'Error No good file' => 'The type of the file is not authorized. The authorized types are GIF, or JPG.',
'Error Move failed' => 'The server could not record the downloaded file. Contact the administrator',
'Error Visu failed' => 'The creation of label failed.',
'Error Unknown failure' => 'Unknown error.',
'Error Del' => 'ERROR: The suppression of the image failed.',
'Error FTP connect' => 'FTP connection failed try again later!',
'Error FTP Up 1' => 'FTP Loading failed try again later!',
'Error FTP Up 2' => 'FTP loading of the miniature image failed try again later!',
'Error FTP Del 1' => 'Suppression ftp of the image failed!',
'Error FTP Del 2' => 'Suppression ftp of the miniature image failed!',
);
yeah I would not mind seeing something like a karma system on my forum.
yeah I'm working on it now
Where do I put echo $user_avatar; I've tryed everywhere it doesn't show or I get an error
also you shouldn't need $rel_path as long as you have your PUN_ROOT defined and use it.
there is one reason why I'm working on the CSS version so I can avoid problems like that
here is a french mod
add at lang/LANGUAGE/chatbox.php
'Room' => 'pièce',
look for
<label><textarea name="req_message" rows="7" cols="100" tabindex="1"></textarea></label>
I edited mine too so it might be hard to find but I know its at the bottom. the Rows and Cols can change the size of the text box
there was a mod someone made that its supposed to help in making stylesheets it has the markup of all sorts of pages in one that would be great to edit for something like that
I'm not sure about tables plus tables are very sloppy and sloppyer when you have a pure CSS setup. You may have to edit your CSS to do it then have your own bbcode like [th] [tr] [td] to work with the CSS
looks like you messed up on something when you put in the "Who's Onlne part"
maybe the Naked woman waiting for you after it gets done
that makes sence and it works.
Edit: I also noticed that the parser takes out the extra <p> when its alone
sorry my bad I knew that.
but doing it with CSS involves more work as in you must do 3 times and its edits to the style sheet. Most people try to avoid that
Won't that code mean you could have a <div> inside a <p> which is improperly nested markup.
I know its a bit hacked but it does the job
add this to lang/French/help.php
'align text' => 'Ce texte est à la droite',
My french is not the greatest so you might want to check that
You might want to edit help.php (this is for english)
in help.php find
[color=blue]<?php echo $lang_help['Blue text'] ?>[/color] <?php echo $lang_help['produces'] ?> <span style="color: blue"><?php echo $lang_help['Blue text'] ?></span><br />
after add
[align=right]<?php echo $lang_help['align text'] ?>[/align] <?php echo $lang_help['produces'] ?> <div align="right""><?php echo $lang_help['align text'] ?></div>
add this to lang/English/help.php
'align text' => 'This text is to the Right',
I'll have the french later.
I have what you are looking for and XHTML valid
ok in include/parser.php find
'#\[email=(.*?)\](.*?)\[/email\]#',
after add
'#\[align=(.*?)\](.*?)\[/align\]#',
find
'<span style="color: $1">$2</span>');
before add
'<p/><div align="$1">$2</div><p>',
make sure you have them in the same order of the array or else your BB code will be wack
Actually I used XuMix's mod found here
http://punbb.org/forums/viewtopic.php?id=7039
did a few edits to the News page to make it work with the style and included it in what I call portal.php
shinko_metsuo wrote:how would I get the news page to look something like this
http://shinko.freeprohost.com/portal.phpI would use that but it's sort of a hacked version ><
i dont get it you would like your page to look like your page
I could use it but it is bugged. It's not good code wise.
how would I get the news page to look something like this
http://shinko.freeprohost.com/portal.php
I would use that but it's sort of a hacked version ><
I did not think about it till I looked at the topic of the Easy BBcode and Rickard posted how do put it for the quick reply box and I noticed on the change he had what I just posted. I tried it on the chatbox and Bam it worked.
I don't get what you are saying
you can stick post at the bottom in your footer.
I use the miniportal but I did a lot of edits to it
http://shinko.freeprohost.com/ <-- home page
http://shinko.freeprohost.com/forums/ <---forums
I got EasyBB to work in firefox
Find
<form method="post" name="form_room" action="?action=send" onsubmit="this.submit.disabled=true;if(process_form(this)){return true;}else{this.submit.disabled=false;return false;}">
replace with
<form id="post" method="post" name="form_room" action="?action=send" onsubmit="this.submit.disabled=true;if(process_form(this)){return true;}else{this.submit.disabled=false;return false;}">
the difference is id="post" was not in.
PunBB Forums → Posts by shinko_metsuo
Powered by PunBB, supported by Informer Technologies, Inc.