Support Forum

file upload activation problem

46 Answers

New Answer

MP Mr Papa
Mr Papa
Member

understood your post… but site has 2011 active now and its working… so cannot look at issue… and the start upload button activity/availability/etc is all with the plupload code itself and no sp interaction…

MS Mamadou Seck
Mamadou Seck
Member
Thanks for your reply, but I have another question: How do I translate the plupload in French. Where are the translation files? Alternatively, on which files I have to work?
YS Yellow Swordfish
Yellow Swordfish
Member

In the forum admin > components > file uploads panel use the code ‘fr’ in the language setting. That will run the French language file. We have seen one or two issues with the plupload language files but have no reports of the French file being a problem.

MS Mamadou Seck
Mamadou Seck
Member
Thank you.
It is done for the French language.
Another question: How do I make the color of the links of visited topics change?
I try to look in the css with firebug, but it’s hard to find the correct element
YS Yellow Swordfish
Yellow Swordfish
Member

To keep it simple I would just add:

#spMainContainer a:visited,
#spMainContainer .spLink:visited {
    color: red;
}

to your SP or WP theme CSS. Obviously changing the colour ‘red’ to whatever your choice is.

MS Mamadou Seck
Mamadou Seck
Member
thanks, it works, but if I want to apply it only to topics titles and not to the forum title?
YS Yellow Swordfish
Yellow Swordfish
Member

That’s trickier as they both use the same style class.
So you will need to define your own class name – add that to the arguments for the topic name (in the spForumView template – function sp_TopicIndexName() and then add that class name to the CSS style we defined yesterday.

MS Mamadou Seck
Mamadou Seck
Member
could I have an example of the code to define the function and class in spforumview template?
YS Yellow Swordfish
Yellow Swordfish
Member

Well in the default template the call probably looks like:

sp_TopicIndexName('tagClass=spRowName', __sp('Browse the thread %NAME%'));

So you can add a new class to that as in

sp_TopicIndexName('tagClass=spRowName yourClassName', __sp('Browse the thread %NAME%'));

Then in the CSS use:

#spMainContainer .yourClassName.spLink:visited {

which should do it. Mind you I have not tried yet…

MS Mamadou Seck
Mamadou Seck
Member
in wich file can I change the HTML code? to declare the “id” and the “class” that I created.
as with the image below
html.jpg
YS Yellow Swordfish
Yellow Swordfish
Member

I don’t understand. If this is related the question about visited topic links then as per what I outlined in post 39 above. If something else can you please explain?

MS Mamadou Seck
Mamadou Seck
Member

I’m looking for the file where this html tag is, to replace class “= spRowName” with my own class

<a id=”spTopicIndexName11″ class=”spRowName vtip” title=”Parcourir le fil test image enoyée2″ href=”http://www.lemzosekka.com/forum/forum/kenzo/test-image-enoyee2/”>test image enoyée2</a>

YS Yellow Swordfish
Yellow Swordfish
Member

you don’t change the HTML in core. code You change the call in the template file as I pointed to. I see I didn’t name the file – spForumView.php in the /templates folder of your p theme.

MS Mamadou Seck
Mamadou Seck
Member
the code that you gave me works only when I change the name of the class with firebug. I named my class “spRowName2”.
But the css code does not works, except when I change the name of the class in firebug:
 
I have this code in firebug:
< a id = “spTopicIndexName11” class = “spRowName vtip” title = “Browse wire test image enoyee2″ href=”http://www.lemzosekka.com/forum/forum/kenzo/test-image-enoyee2/” > test image enoyee2 < /a > “
html-1.jpg
 
And It works only when I change it by:
< a id = “spTopicIndexName11” class = “spRowName2 vtip” title = “Browse wire test image enoyee2″ href=”http://www.lemzosekka.com/forum/forum/kenzo/test-image-enoyee2/” > test image enoyee2 < /a > “
 
In which file should I declare my class “spRowName2”? And in which file do I call it?
In which file can I find this code to permanently change “spRowName” by “spRowName2”?
 
Another question: what is “vtip”?

YS Yellow Swordfish
Yellow Swordfish
Member

We really have covered all of this above.

Post 39 above – that shows you how to change the class name in the template function call. if you don’t want to add a new class as I suggested then just change the name of the class already being used. it is there in the function call arguments. I pasted it in for you.

Post 43 above tells you exactly which file the call is in and where it is stored. ‘spForumnView.php’ in your SP themes /templates folder.

CSS changes go into the themes styles file (in the /styles folder of the Sp theme you are using) which will either be a .css or a .php file depending on what theme you are using. either way the file name is the name of the theme.

If I am truly missing something here then I am sorry but you will need to explain to me what it is because as far as I can see we have covered it all.