![]() |
Hack News v3.0
I finally decided to translate it in english (i'm french) :nervous:
This hack allows you to add on your index page a system of news viewable by all your members. You manage news via the admin CP, they are displayed on the forum in the shape of a "marquee" text. You can insert HTML when you add a news in the admin CP and so, you can insert images, or effects on your text. You can have the number of news you want, display will automatically adjust :) You can totally customize the display too by editing the 3 new templates to make it more beautifull or adjust it with your visual theme ! Colors automatically adjust too with your themes but you can change it (put a background...) by modifying the templates Have fun with it, i hope you will like ;) [HIGH]VERSION 4 IS HERE [/HIGH] |
of the admin CP
|
display on your index page if you only added 1 news
|
and with 2 news
|
thank you for sharing this with us :)
|
Nice work:)
Satan |
Is there a limit to the number of letters in each news item? and how many news items get displayed on the site at anyone time?
|
Looks great bu I already have the news ader installed ^^
|
i've followed all the instructions but is doesnt show up
on my header template, put the $news_affichage dont know whats wrong? anyone could help.. |
Quote:
For Ninth Dimension Each news is defined a a mediumtext in the DB, you can increase it by longtext but i think it is enough so ! All news you add are displayed, there is no limit, to remove a news item, just remove it from the DB via the admin CP ! ;) |
Installed but only allows for 1 itemt then I get a sql error when adding additonal news items.
Database error in vBulletin Control Panel 2.2.6: Invalid SQL: INSERT INTO news (newsid,comments) VALUES ('Test','test') mysql error: Duplicate entry '0' for key 1 mysql error number: 1062 Date: Monday 26th of August 2002 01:48:45 AM |
Quote:
Each news has to have a different number id ! ;) |
nice work click install
is it possible to put also the french version |
Oki for the french version Freestyler :classic:
|
thanks
|
It's not better here, 52 dls and only 7 answers ... :devious:
|
I have installed newshack 3.0 and went over to check and see if all the installation was done correctly (and it was) but the news does not appear. I have pasted $news_affichage right after $header and still nothing.
Could it be that the weatherhack is causing some problem? |
Alors la je dit bravo pour ce hack
|
Thx a lot Maverick1969 (Merci beaucoup ;))
K_2 : Can you create me a member access to your forum to see the pb, normally there is no pb to install the hack ;) |
je l'ai mis sur mon forum de teste et je le trouve nickel et encore sorry pour l'anglais mais je suis novice.
|
Quote:
k_2@cox.net Thanks alot! |
K_2, I created an account on your forum, can you pm me on this forum or here to have more information ;)
|
you have PM here
|
hmmm, I dont' know how to make queryes O_O
|
[HIGH]NEW VERSION : 4.0[/HIGH]
Here is the new version of my hack Modification between version3.0 and version4.0 : - Best integration in the forum due to the variable {contenttatblewidth} in the news templates concerned, so, news templates'width is now the same that your forum's width. - you can now add smilies directly - You can now put vbcodes directly - You can choose to display or no news from your admin CP The archive countains an upgrade file to upgrade from v3 to v4 easily ;) Modification par rapport a la version 3: - Meilleure integration dans le forum grace a l'insertion d'une variable {contenttatblewidth} dans les templates news concernees, ce qui a pour effet d'ajuster automatiquement la largeur des news a celle de votre forum (par ex si vous avez defini une taille differente par rapport a l'origine) - Affichage des smileys directement via leur code - Possibilitee de mettre des vbcodes - Possibilit?e d'afficher ou non les news, gerables directement depuis le CP L'archive contient egalement un fichier de Mise a jour pour passer plus facilement de la version 3 a la 4 ;) Here is the french version Voici la version francais |
Here is the english version
Voici la version en anglais [HIGH]ARCHIVE UPDATED[/HIGH] The news.php for the admin CP is now in english ;) |
with news display options in the admin CP
avec option d'affichage des news dans le CP admin |
and result with Vbcodes and smilies
Resultat avec des vbcodes et des smileys :banana: |
Merci! :-)
|
Umm, the English version(4) has a French option...
PHP Code:
|
Babelfish says:
Quote:
|
Hummmm .... Where do you see option in french in the english archive ?? I've just downloaded it again and my query is in english :
Code:
INSERT INTO `setting` VALUES (201,2,"Display news on your forum ?","news_affich",1,"This option allow you to choose or no if you want to display news system on your forum","yesno",7); |
wooow
one team installed :p |
When you use the news update 3_4 it is French.
|
I can't get the news to stick everytime I press submit it goes to 0 when adding a news.
|
Got the same as yxboom, I installed it, everything did go perfect. But when your in the admin cp, and press: Manage tour news or add --> the things there are in french (like yxboom says: news.php is frenche)
pls upload an english version. Tnx |
Oups, a file is in french in the englsih version ?
Sorry, it's too late now for me to dot it, it's 3:42AM in France ;) Do it tomorrow ;) |
hehe np, thank you in advance.
|
It's now OK, I've updated the archive here:
https://vborg.vbsupport.ru/showthrea...447#post369447 News.php is now in english ;) Just replace your by the new of the archive |
is it me or is the news.php still in french? pls recheck the zipfile
|
All times are GMT. The time now is 04:43 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|