sad

How can I add a reqired field in the posting form that allow users to chose one of the givin tags to apply it as a prefix for the subjects title? (tag options are shown in "radio" way and non are selected by defult)

for example:

0 New Release
0 Qestion
0 Bug

a user must choose one of these tags and the chosen tag will appear as text before the subject's title in order to easly view a forum.

this topic may help: http://punbb.org/forums/viewtopic.php?id=9808

Vandelay, why not keeping '$todaystamp' as it is for future need and creating '$last24' so it'l be:

$last24 = mktime(0,0,0, $date['mon'], $date['mday'], $date['year']);

    $result = $db->query('SELECT username, id, last_visit from '.$db->prefix.'users WHERE last_visit >= \''.$last24.'\' ORDER by last_visit DESC') or error('Impossible de retrouver la liste des utilisateurs en ligne aujourd\'hui', __FILE__, __LINE__, $db->error());

29

(5 replies, posted in PunBB 1.2 discussion)

Well, I mentioned Arabic language only as an example.
Now this is fine with css (PunBB for example), But what about others like HTML, PHP, if I wanted to edit a font dirctly in the script.
e.g. one may want to edit the topic supject font in a weblog sideserver that uses HTML, what should he do?

BTW, in my pbb forum I've changed the order of the font family in my css to (1. Tahoma, 2. Arial ....) and every thing now works fine with tahoma, but still the redirection page does not, and work with arial!

30

(5 replies, posted in PunBB 1.2 discussion)

no suggestions? neutral

31

(11 replies, posted in PunBB 1.2 discussion)

Well Paul is right. Although Rickard made the changes on the new vrsion I think. Caus this used to happan to me.

32

(5 replies, posted in PunBB 1.2 discussion)

Hi all,

As we know, fonts styles differ from a language to another -Latin and Arabian letter-. Some common fonts works with both like Arial, Tahoma, Courier... Others don't, like Verdan, Comic SS for latin and Traditional Arabic, Andalus for arbian letters.

And, as far as I concluded, is that when aplaying one of the (1-language-font) to a text that contains both languages the font's language text is formated right and the other picks an other font that works with by some kind of an order.

e.g. the text:

The new PunBB verion is available soon

when writing it in Arabic, the word "PunBB" cant's be treanslated for some reasons, so it should stay in English.
Now: suppose the font formating of the text is Traditional Arabic. All the text in arabic will look 'Traditional Arabic' except the word "PunBB" that will automaticly be under font "Comic Sans Serif" that actually looks informal.

The goal of all of that explination is to find a way that allows a users to format text for Multilingual projects, so that it is possible to choose different font for each language that we cannot xepect when  will it be written like thread's subjects as an example.

Well yes it seems hard, I'll try designing anew one with the same style, adding an html redirection.

well I wanted to use the punbb redirection stle, the some one appers after updating, submitting..ect.. just to make it tha same. btw, thnx.

Is it possible to use the redirection made for punbb as an index on the main directory of the site?
And what mod and file ara needed to copy to view it for a sec then redirect automaticly to the forum's directory?

This probably because you forgot to give the folder 'avatar' the permition '0777' by chmod.

37

(7 replies, posted in PunBB 1.2 troubleshooting)

Man I feel so stuped elbekko! It's all becase of the RTL folder created by zaher, I fide it really confusing! I first uploaded the filest to the style_rtl foleder but nothin changed, then uploaded it to the original style folder, it worked fine, but then I deleted the last ones!
I asol mistaken to import the right file_cs.css big_smile
I didn't recognized that!
And I dont know how does this thing work: http://punbb.org/forums/viewtopic.php?id=5272 !
It's hard to understand the explenation.

38

(7 replies, posted in PunBB 1.2 troubleshooting)

Paul wrote:

Do you have a link to the site?

Have you tried clearing your cache?

http://dohafootball.com/forums/

I tried cleaning the cache after using the style. but which cache do you mean? browser's or the forum's one?

elbekko: I'm sure about that.

for the 3rd time

FhdQa wrote:

The first hour every thing worked completely fine and the style was looking good, after that the style turned to this:

39

(7 replies, posted in PunBB 1.2 troubleshooting)

well, I was sure about the colors, just changed Oxygen to a maroon theme, nothing else than colors and importing the related_ce.php file.

I said it was working completley fine but suddenly changed!

Notice: the same thing happened to my when I onve tried to create one with spinkbb.

I tried both FF and IE but the same.

40

(7 replies, posted in PunBB 1.2 troubleshooting)

I tried to make my self my own style only by changing colors, so I duplicated oxygen.css and oxygen_cs.css and only changed color codes as I like respectiveley + in oxygen.css I import the new_style_cs.css file.

Then I changed the names and uploaded the files.

The first hour every thing worked completely fine and the style was looking good, after that the style turned to this:

http://img333.imageshack.us/img333/3437/ddddddddddddddos1.th.jpg

dont care about the text, it's arabian, but the colors appered like the aren't any!

any solution?

Fahad

41

(14 replies, posted in PunBB 1.2 troubleshooting)

Thank you elbekko, thats exactly what i found, I'll try it later

42

(14 replies, posted in PunBB 1.2 troubleshooting)

Edit (after inventing the elbekko plugin tongue):
INTERESTING! I think thats what exactly neet elbekko but I only found the colorzilla plugin.

43

(14 replies, posted in PunBB 1.2 troubleshooting)

Thanks alot pogenwurst for you offer, actually every time I go back and read the css file I get more confused! because some times I see each with a different selector like DIV.postright and some times they are in a group I think like H2..

44

(14 replies, posted in PunBB 1.2 troubleshooting)

Thank you all, but is it possible to aply a specific style for each text in the the forum?, like forum's title, catagory's title, post body...ect

45

(14 replies, posted in PunBB 1.2 troubleshooting)

elbekko, thank you for yor enfo. but the font-family in pbb is like a set or a group of fonts e.g. {arial, tahoma, ... }!

deadram, thank you bro, I aso uses that site and it helped me alot too.

46

(14 replies, posted in PunBB 1.2 troubleshooting)

Isn't there any text setting map for the css file? Becaus I'me using an Arabic (RTL) lang-pack. and the font 'arial' is hard to see in the punbb defult text size.

I don't know waht and which to chang, font or size? I see a FontFamily! and don't know which is related to which!

I'm bad at css. what is 'em' and what are the differencec between the tow files for each style?

Can I have some help?

I need to make the whole forum text under the font 'Arial' but increase the font size by a constant degree.

Fahad

What is the differnces between both of the files? Do I need them both or one is enough? And how do thay work?

v.nice

49

(1 replies, posted in Programming)

Hi,

How can I convert a character after reading it from a file through an ifstream to the program into integers?
Note that the file contains 32 line, each line contains 32 number (52, 65, 0, 8, 123, ect). separated by a space?
so I'll have to read the file line by line by the function getline, then spot the integrs in each line by A.find function and store each int an an array called whatever?

CAN ANYBODY PLEASE HELP?!

Nice work smarty and thank you viper for asking smile