Have a look at the code in post.php. With a few minor adjustments, you can copy and make that preview code work in the message_send.php? file.

Just before the final }.

3

(4 replies, posted in PunBB 1.2 troubleshooting)

Pack that crap in now Nick. If you cannot offer helpful advice, say nothing.

Have all of your tables actually disappeared, or are you just assuming so due to that error? Your best option would be to have a word with your host and see what they say. Do you not have any database backups?

4

(9 replies, posted in PunBB 1.2 troubleshooting)

The scripts are now working as they should. It's up to you to alter the config settings and CSS until you get things setup, working and looking how you want.

5

(9 replies, posted in PunBB 1.2 troubleshooting)

Seems to be working fine on that link you posted: http://www.gufs.eterya.com/gallery_1.php

Clear your cache and check again.

6

(9 replies, posted in PunBB 1.2 troubleshooting)

Put these lines in header.php, where they should be:

<link rel="stylesheet" href="engine/css/lightbox.css" type="text/css" media="screen" />
<script src="engine/js/prototype.js" type="text/javascript"></script>
<script src="engine/js/scriptaculous.js?load=effects,builder" type="text/javascript"></script>
<script src="engine/js/lightbox.js" type="text/javascript"></script>

and try the code below.

<?php
 
define('PUN_ROOT', './');
require PUN_ROOT.'include/common.php';

?>
<div class="block">
    <h2><span>Galleri 1</span></h2>
    <div class="box">
        <div class="inbox_2">
        <style>
            .gallery {
                zoom:1;
                width:auto;                
            }
            .gallery a {
                display:block;
                float:left;
                margin:5px;
                opacity:0.87;
                text-align:center;
            }
            .gallery a:hover {
                opacity:1;
            }
            .gallery a img {
                border:none;
                display:block;
            }
            .gallery a#vlightbox{display:none}
        </style>
       <div class="gallery">
        <a href="./data/images/amalilucia2008010.jpg" rel="lightbox[sample]" title="amali lucia 2008 010"><img src="./data/thumbnails/amalilucia2008010.png" /></a>
    <a href="./data/images/amalilucia2008015.jpg" rel="lightbox[sample]" title="amali lucia 2008 015"><img src="./data/thumbnails/amalilucia2008015.png" /></a>
    <a href="./data/images/amalilucia2008016.jpg" rel="lightbox[sample]" title="amali lucia 2008 016"><img src="./data/thumbnails/amalilucia2008016.png" /></a>
    <a href="./data/images/amalilucia2008036.jpg" rel="lightbox[sample]" title="amali lucia 2008 036"><img src="./data/thumbnails/amalilucia2008036.png" /></a>
    <a href="./data/images/amalilucia2008001.jpg" rel="lightbox[sample]" title="amali lucia 2008 001"><img src="./data/thumbnails/amalilucia2008001.png" /></a>
    <a href="./data/images/amalilucia2008007.jpg" rel="lightbox[sample]" title="amali lucia 2008 007"><img src="./data/thumbnails/amalilucia2008007.png" /></a>
    <a href="./data/images/amalilucia2008008.jpg" rel="lightbox[sample]" title="amali lucia 2008 008"><img src="./data/thumbnails/amalilucia2008008.png" /></a>
    <a href="./data/images/amalilucia2008009.jpg" rel="lightbox[sample]" title="amali lucia 2008 009"><img src="./data/thumbnails/amalilucia2008009.png" /></a>

    </div>
      </div>
    </div>
</div>
<?php
require PUN_ROOT.'footer.php';

7

(9 replies, posted in PunBB 1.2 troubleshooting)

Have you looked at your page source on the gallery page? I've no idea how you've contained the gallery, code wise, but you can only have one head and body in a page, not two. Place the lightbox js links in header.php and get rid of the rest of that cruft from your gallery pages.

NiCk Newman wrote:
MattF wrote:

The column(s) type has absolutely no bearing on the query. You have already had an explanation of what the column types mean.

Why u keep posting stuff that u dont understand? lol

[snipped]

THE QUERY BE THE SAME ? OR DOES IT JUST AUTOMATICALLY SPEED IT UP SINCE NOT ALL TEXT?S??

Thanks.

First, why are you asking as I obviously have no idea what I'm talking about?

Second, try as I might, I still find you an obnoxious, unhelpable little twat with a serious attitude problem and a total manners deficit, so just go screw yourself Nick. If you cannot retain some civility then you will receive absolutely none from me.

That code is from the easypoll mod. Unless you really want users to see poll links in returned search results, I wouldn't worry. smile

The column(s) type has absolutely no bearing on the query. You have already had an explanation of what the column types mean.

From the download package you used to create your forum.

generate_navlinks() in the functions file. The search link is generated in there. Crippling your system by removing search seems somewhat peculiar, however.

Have you actually altered search.php for any of those mods? Nothing seems glaringly obvious from the quick look I just had at your file. You could always just upload a fresh copy of search.php to your forum, btw. smile

Unless you expect us to use our psychic abilities, posting the code from search.php may make checking for the broken code somewhat easier.

I'd forgotten the PM mod was installed on here. big_smile Cheers for that. I'll have a look see. smile

Your stylesheets in the style dir.

Add this to the end of the oxygen.css file:

th.tc2, th.tc3, td.tc2, td.tc3 {display: none;}

and those columns should become hidden by the browser. They'll still be there, but not visible.

AlexanderS wrote:

The only thing I don't have perfect is valid HTML. I've done some funky stuff that comes up as invalid on W3C, but it's all cross-browser friendly. I've read that it's kind of irrelvant as long as the bots can read the text and tags. Also, the biggest sites, including Google, have more errors than mine.

Is it possible to post the link to your site? (Or e-mail it direct to me if not?) Very few things other than IE specific code or suchlike are irrepairable. smile Source code validity is something worthwhile working towards, if possible. It has benefits in just about all areas. smile

I know what you mean with the likes of Google and such. It wouldn't be so bad but most of those widgets and such they do either don't work or screw your page validity up too. big_smile Hardly a shining example for standards.


AlexanderS wrote:

Let me ask you something that I just noticed. When you're at say a Topic, and log in to post a reply, my Punbb 1.2* redirects to the index page. That's not happening here, it brings you back to where you were. Is there a fix for that, or is it just an upgrade on 1.3*?

It was a feature added in 1.3. The previous page you visited is stored in the DB, and the redirects use that value instead of just redirecting back to the index and suchlike.

Are you actually wanting to rip out all of that code specifically or just make it not visible? You're creating a whole lot of work for yourself by ripping the code apart, (and risking buggering things up in the process). Just hiding content via the CSS would be far simpler and less detrimental.

Aye, that pretty much sums up the general gist of things. smile Provide them with good links as hints, i.e: the sitemap, but leave the classification and general decisions on what to include to their indexing bots.

The only time I've ever redirected or blocked content is when I'm specifically wanting them to view a different version of a page, (printable version over full version, etc.), or when it's a section or portion of the site which they have no need to access. Providing good quality metadata information, useful titles, good quality, valid (x)html and suchlike seems to have far more effect than the likes of worrying about duplicate content or trying to provide fancy URL schemes and suchlike. The indexing bots have had plenty of time to become well adapted to their job by now. big_smile

20

(4 replies, posted in PunBB 1.2 troubleshooting)

I obviously understand better than yourself, (again). Did you actually read the whole of my post?

Judging by one bit of info I found, do nothing. smile The search engines are smart enough these days to glean what information they need from where they prefer to glean it from.

http://www.theadminzone.com/forums/show … hp?t=54493

22

(4 replies, posted in PunBB 1.2 troubleshooting)

Do you really have to do the drama queen type posts?

http://uk3.php.net/manual/en/function.number-format.php

That code appears to be for the subforum mod.

You'd need to changed a darned sight more than just the link. Unless you're a glutton for punishment and rather comfortable with coding, I would recommend you give this idea a wide berth. Besides, the SEO benefit is totally unproven. I personally think they're a complete waste of time in that regard. They're eye candy, nothing more.

24

(6 replies, posted in PunBB 1.3 discussion)

<?php // The first php tag at the top of extern.php

exit('The RSS Feed is disabled on this forum.');
NiCk Newman wrote:

{sorry im french}

The word you're after is either 'thick' or 'annoying'. smile


p.s: You sure as hell ain't French Nick.