how can I delete/remove the "moved mark/topic/thread" of a topic that has been moved from a section to another if I forgot to uncheck the "Leave redirect topic(s)" checkbox when moving a topic?

edit: ex; I want to leave the moved Halloween thread in the section it belongs to.. But I don't like to see the moved: Halloween thread in the Spring section where it has originally and wrongfully been created.

Paul wrote:

Try
div.rss_box ul.rss_items li.rss_item {padding-bottom: 0.5em}

I wanna make this legit, turns out my quickfix didn't work in FF. Weirdly enough this line
.rss-items {list-style-type: none; list-style-image: url("http://myimage.gif") }
would display an image next to each item in IE and FF when placed as a single line in an completely empty .css, but as soon as I put it in my default.css it stop working in FF.
----

So according to your tip I used;
/* 6 RSS FEED */
/****************************************************************/
div.rss_box ul.rss_items li.rss_item {padding-bottom: 0.5em}

.rss-box {width: 300px;background-color: #ffffff;}
.rss-date {font-size: x-small;font-style: italic;color: #333;}
.rss-item {FONT-FAMILY: Arial, Helvetica, sans-serif; font-size: 10pt;font-weight: bold;color: #333;}
.rss-items {list-style:none; margin:0; padding:0;}

Didn't work in both IE or FF
I also tried putting div.rss_box ul.rss_items li.rss_item {padding-bottom: 0.5em} in my base.css but it didn't work either..

This thing is driving me nuts, I spent hours on this detail lol

my actual .css (which seperates items in IE but not in FF by displaying an "invisible bar" next to the items) contains this;

.rss-date {font-size: x-small;font-style: italic;color: #333;}
.rss-item {color: #333;margin-bottom: 0.5em;}
.rss-title {FONT-FAMILY: Arial, Helvetica, sans-serif; font-size: 14pt;font-weight: normal;margin-bottom: 0.5em;}
.rss-item {FONT-FAMILY: Arial, Helvetica, sans-serif; font-size: 10pt;font-weight: bold;color: #333;}
.rss-items {
       list-style: url(http://www.indiequebec.com/forums/img/i … dqlist.gif) circle;
       margin:0;
       padding:0;
}

Whoever could lead me to some tips on either how to make my image appear next to the rss-items in FF or better yet, how not to use images to "separate" the items in my list would be of great help.

Paul wrote:

If that doesn't work, ramp up the specificity
div#punwrap div#somepage .rss-item {etc}

Without seeing the markup I can't be any more help because I dont know whether the news items are lists, paragraphs or what.

The page is
page.php?id=2
This is not what you meant, right?

DIV#punwrap DIV#page.php?id=2 .rss-item {font-size: small;color: #333;margin-bottom: 0.5em;margin-bottom: 0.5em;}

I see you rolling your eyes.. ; )

Anyways I reread the instructions of the site I used here http://feed2js.org// and found out I had deleted an extra css declaration for this list. But even if the margins would still remain stuck by modifyng it, I could however apply an image next to each item... So I cheated and made a tiny bar that is now next to each item, and by modifying this image, I can "separate" them at my convenience.. (I know Paul, this isn't nice work, but it will have to do until I get more skills with css...)

Thanks for your help!

Paul wrote:

Assuming the custom page has an id then just use that to create a css declaration with a higher specificity.

Thanks! Sounds like a good tip, I wouldn't know how to do it though..

The thing is, I want to embed an xlm feed in a page of my forum. The javascript is hosted by a third party so I cannot change their "css name"

So I added them in my forum's .css:

.rss-date {font-size: x-small;font-style: italic;color: #333;}
.rss-item {font-size: small;color: #333;margin-bottom: 0.5em;}
.rss-item a:link {font-size: small;font-weight: bold;color: #6D7E7E;}
.rss-title {font-size: small;font-weight: bold;color: #B42000;margin-bottom: 0.5em;}
.rss-item A:link, .rss-item A:visited, .rss-item A:active {font-size: small;font-weight: bold;color: #6D7E7E;}
.rss-item A:hover {color: #eaefef;background-color: #6D7E7E;}

it looks llike this.
http://i119.photobucket.com/albums/o144/indiequebec/idqfeedspaces.gif

The problem I have is that the news are too close next to each others, I tried "margin-bottom:2px; margin-top:2px" but it doesn't change anything, they won't move at all. "margin-bottom: 0.5em;" works for .rss-title but not for all the other items.

Does anybody know how I could add some space between each items?

How can I set a specific css to a page I created via the Custom Pages mod?

I managed to implement a xml/ress feed on that page but the styles used in the html seem overriden by my forum's default .css

I used the Custom Pages mod because it includes a left sidebar/menu

Or do you know any simpler way to achieve what I'm trying to do?

56

(9 replies, posted in PunBB 1.2 troubleshooting)

I've seen and reported a similar problem before.
This has to do with IE exclusively
The scrolling chokes up for half a second at each 2 seconds for example.. I'm pretty sure if you hold on any key in a post message field for 3 seconds it's repetition will stop as well.
The problem originated in the board's sidebar.. but yours don't have any.

Thanks pogenwurst I already did.
Or do you mean that there were no files to upload and all I need is to follow these steps?

edit: indeed, it worked, thanks! : )

yemgi wrote:

you can try this one : http://www.punbb.fr/mods/mod.php?id=35
The email notification can be enabled/disabled from the admin panel and each user can choose to enable/diable it in its profile. A popup notification is also included that can be enabled/disabled.

Thanks, but I already have the PM system, I just need the email notification thingy

The French forum has been down for more than a month now.. does anyone still have the files by any chance?

60

(5 replies, posted in Feature requests)

Thanks
as it was said in its related thread* it's missing some key features like edited posts, deleted topics/posts, and moved topics. Most of these logs arent usually accessible to mods. I hope it's gonna get updated.

http://i119.photobucket.com/albums/o144/indiequebec/adminlogs101.gif

* http://www.punres.org/viewtopic.php?id=694

61

(5 replies, posted in Feature requests)

elbekko wrote:

I think there's a mod for this on PunRes. Have a search wink

What should I look for?
There are many results when searching "moderator log" + I can't search in threads' titles (I'm wondering why, btw)

understood

Thanks for patience, guys! : )

elbekko wrote:

You have to include common.php, not functions.php

Then I'd get a blank page with no output whatsoever, is that normal?

Smartys wrote:

That's what I meant without the function update_forum ($forum_id) { ... } stuff (that's already defined in include/functions.php. The way to use a function is exactly what you did in your last line.

well if I only have to browse to this php file:

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

update_forum(7);

?>

I'm getting the error
Fatal error: Call to a member function query() on a non-object in C:\wamp\www\forums\include\functions.php on line 364
__ __ __
line 364 of function.php is
$result = $db->query('SELECT COUNT(id), SUM(num_replies) FROM '.$db->prefix.'topics WHERE moved_to IS NULL AND forum_id='.$forum_id) or error('Unable to fetch forum topic count', __FILE__, __LINE__, $db->error());
    list($num_topics, $num_posts) = $db->fetch_row($result);

this is not what you meant, right?  hmm

http://i119.photobucket.com/albums/o144/indiequebec/updateforum.gif

I copied said function to a new php file, and browsed to it. But I don't see any output whatsoever... I get a blank page. (obviously, first time calling a function here..).

Smartys wrote:

It's a PHP function.

which is included in functions.php so I just have to refresh my browser and the function will be automatically called?

Smartys wrote:

and run update_forum

I'm not familiar with this function, is it a mysql query? because I get a syntax error when running it there. Now I understand that it has something to do with include/functions.php but how (or where) can I run it?

edit: or do I simply have to navigate to this php page?

okay, so let's say the thread/topic contains a single post and that I ran the 2 queries in order to change the author's name displayed in the list of topic, and in the actual 1rst (and last) post of said thread.

Now, is there a 3rd query I have to run in order to make the new username appear in the Last post by column displayed in the list of topics? Otherwise the name of the original poster would still be displayed.

Thanks again!

It works, thanks guys!

edit: so you have to run the 2 ^^ queries.
first one for the authors' names appearing in the list of topics and 2nd one for the name displayed in the first post of said topic

lol naaa I'm trusting you guys. I was at the movies so didn't tried the first few queries

But still, the last one (with smarty's comment about poster_id) didn't work. I ran the following;
UPDATE posts SET poster_id=83 WHERE id=591;

and got the following results;
Instead of having the username of poster 83 next to post 591, I get the original username BUT it now has the poster id 83...

I assume it can be done.
Anyone could give me some leads as where to look?

Thanks!

Hi!
I also want to know when I'm reading my online.php
I changed the
else if (!isset($lang_online[$user_data['current_page']]))
line as listed above and removed the "/" in front of 'online.php' in the lang file.. but it still shows that I'm hiding somewhere instead of viewing online list.. what did I forget to do?

edit solved
I changed
'/online.php'
to
'/forums/online.php' in the lang file

Here's a mod for the youtube videos, created by pogenwurst

http://www.punres.org/desc.php?pid=288

google videos
http://www.punres.org/files.php?pid=289

Whenever it happened to me it was because MySql didn't have enough space to write temp files in the database..

So I asked my host to empty their temp files folder and it resolved the problem everytime.