Hi
Ich suche einen Newsticker für vb 3.01 .
Die News sollten vom Admin selbst geschrieben werden können.![]()
Auf vb.org gibt es nur eine Box und die funtzt noch nicht mal
Weis einer von euch wo mann sowas bekommt?
Wäre saunett von euch![]()
Mfg![]()
Hi
Ich suche einen Newsticker für vb 3.01 .
Die News sollten vom Admin selbst geschrieben werden können.![]()
Auf vb.org gibt es nur eine Box und die funtzt noch nicht mal
Weis einer von euch wo mann sowas bekommt?
Wäre saunett von euch![]()
Mfg![]()
Bau dir doch ein Portal ein....Das ist alles drin...
http://www.vbulletin.org/forum/forumdisplay.php?f=82
Dieses würde ich bevorzugen... http://www.vbulletin.org/forum/showthread.php?t=59803
Und dann gibts noch die News-Box (weis nicht ob es die ist, die du meinst)
http://www.vbulletin.org/forum/showthread.php?t=60062
greetz H75
Polizist: "Hey Sie mit dem Fahrrad, stop bitte! Dies ist eine Verkehrskontrolle." Ja ich weiss, ich darf auf dem Gehweg nicht fahren. Polizist: "Darum hab ich sie nich angehalten. Mich würde eher interessieren, wo ihre linke Hand ist." Das würde mich auch mal interessieren...
mag kein PortalZitat von h75
![]()
Jo genau die meine ichZitat von h75
![]()
Thanx![]()
@Snatch
Also ich bekomm die nich hin![]()
Die wird erstma überhaupt nicht angezeigt wenn ich die instaliert habe
Kannste mir da ma bei helfen bitte ?![]()
Poste mal den Code den Du eingebaut hast.
Bei Hackfehlern war es in 99,9999% ein Fehler beim Einbau von Dir. Geh am besten alles nochmal durch.
jo mach ich
*seuftz*
Gibt es da auch etwas für die 3.0.3??? Die automatische Installation bricht ab, da ein Versionskonflikt besteht. Scheint nur mit 3.0.0 zu gehen oder irre ich mich?
ja glaub schon*grins*Zitat von Snatch
ich bau den nacher nochma ein hatte bisher no time
Du must bei der automatischen Installation Nur die version per editor ändernZitat von Elyot
von 3.0.0 auf 3.0.3 dann gehts![]()
Also tuts immer noch nicht![]()
ich poste ma den code .
Gehört hier zwar nicht rein kann ja einer verschieben dann
admincp/index.php
Code:if (can_administer('canadminstyles')) // ************************************************* // ##################################### News GOLD Grog6 construct_nav_option($vbphrase['news_options'], 'options.php?dogroup=news&s=&do=options','<br>'); construct_nav_option($vbphrase['news_add'], 'news.php?do=ajout','<br>'); construct_nav_option($vbphrase['news_manage'], 'news.php?do=modify',''); construct_nav_group($vbphrase['danews']); construct_nav_spacer(); // ##################################### News GOLD Grog6So hab ichs eingebaut bei mirCode:index.php // pre-cache templates used by all actions $globaltemplates = array( 'FORUMHOME', 'forumhome_event', 'forumhome_forumbit_level1_nopost', 'forumhome_forumbit_level1_post', 'forumhome_forumbit_level2_nopost', 'forumhome_forumbit_level2_post', 'forumhome_lastpostby', 'forumhome_loggedinuser', 'forumhome_moderator', 'forumhome_pmloggedin', 'forumhome_subforumbit_nopost', 'forumhome_subforumbit_post', 'forumhome_subforumseparator_nopost', // [START HACK='Shoutbox Hack' AUTHOR='squall14716' VERSION='1.03' CHANGEID= 14 ] 'forumhome_subforumseparator_post', 'danews', 'danews_news', 'danews_fin', 'forumhome_shoutbit', // [END HACK='Shoutbox Hack' AUTHOR='squall14716' VERSION='1.03' CHANGEID= 14 ] 'forumhome_todayloggedinuser', 'forumhome_todayloggedinusers', );
Bitte was muss ich wo genau ändern. Wenn ich mit einem Editor die drei Datein nach 3.0.0 oder einfach nur 3 durchsuche, werde ich nicht fündig.Zitat von Kabelstricker
Die news51_templates.xml mit den Editor öffnen oben is dann die version 3.0.0Zitat von Elyot
der Teampleatesversion die ändern in 3.0.3
die zeile <style name="custom" vbversion="3.0.0" type="vbdhome">
so ändern <style name="custom" vbversion="3.0.3" type="vbdhome">
Mfg![]()
Von was redet ihr denn ?
Automatische Installation ?
Hoffe ich darf das hier postenCode:Run this query on your database : °°°°°°°°°°°°°°°°°°°°°°°°°°° CREATE TABLE `news` ( `id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, `newsid` INT(10) NOT NULL, `comments` MEDIUMTEXT NOT NULL ); °°°°°°°°°°°°°°°°°°°°°°°°°°° In the file admincp/index.php, find : °°°°°°°°°°°°°°°°°°°°°°°°°°° $printhr = false; if (can_administer('canadminstyles')) { $printhr = true; construct_nav_option($vbphrase['style_manager'], 'template.php?do=modify', '<br />'); construct_nav_option($vbphrase['search_in_templates'], 'template.php?do=search', '<br />'); construct_nav_option($vbphrase['replacement_variable_manager'], 'replacement.php?do=modify', '<br />'); construct_nav_option($vbphrase['download_upload_styles'], 'template.php?do=files', '<br />'); construct_nav_option($vbphrase['find_updated_templates'], 'template.php?do=findupdates', '<br />'); construct_nav_group("$vbphrase[styles] & $vbphrase[templates]", '<hr />'); } // *** °°°°°°°°°°°°°°°°°°°°°°°°°° and add under : °°°°°°°°°°°°°°°°°°°°°°°°°°° // ##################################### News GOLD Grog6 construct_nav_option($vbphrase['news_options'], 'options.php?dogroup=news&s=&do=options','<br>'); construct_nav_option($vbphrase['news_add'], 'news.php?do=ajout','<br>'); construct_nav_option($vbphrase['news_manage'], 'news.php?do=modify',''); construct_nav_group($vbphrase['danews']); construct_nav_spacer(); // ##################################### News GOLD Grog6 °°°°°°°°°°°°°°°°°°°°°°°°°° In the config.php, add $debug=1; under <?php in the admin panel, Options > Admin Help Manager add this topic : °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Script : news Action : edit,add,modify Option : news Display Order : 1 Title : News ? Text : A news is a sentence which will be display at the top of your forum. All your members will see it. vBulletin Default : Yes °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° in the part Languages & Phrases > Phrase Manager, add a first phrase with : °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Phrase type : Control Panel Global Varname : danews Text : News °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Then : °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Phrase type : Control Panel Global Varname : comment Text : Content of the news ? °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Then : °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Phrase type : Control Panel Global Varname : position Text : Position of the news ? °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Then : °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Phrase type : Control Panel Global Varname : news_manager Text : News manager °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Then : °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Phrase type : Control Panel Global Varname : news_add Text : Add a news °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Then : °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Phrase type : Control Panel Global Varname : news_delete_thisnews Text : Do you really want to remove this news ? °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Then : °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Phrase type : Control Panel Global Varname : news_editdelete Text : Here, you can add or modify news. °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Then : °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Phrase type : Control Panel Global Varname : news_delete_thisnews Text : Do you really want to remove this news ? °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Then : °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Phrase type : Control Panel Global Varname : news_manage Text : Manage your news °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Then : °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Phrase type : Control Panel Global Varname : news_modidyone Text : you can now modify the news. °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Then : °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Phrase type : Control Panel Global Varname : news_newone Text : Insert here news options °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Then : °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Phrase type : Control Panel Global Varname : news_options Text : Options °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Then : °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Phrase type : GLOBAL Varname : news_manage Text : Manage your news °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Then : °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Phrase type : GLOBAL Varname : news Text : Neues vom °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Then : °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Phrase type : GLOBAL Varname : news_anonym Text : You are not logged in, click here to register ! °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Then : °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Phrase type : GLOBAL Varname : news_manager Text : News manager °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Then : °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Phrase type : GLOBAL Varname : pos Text : Pos. °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° In the admin penal, click Options > vBulletin Options Then Add New Setting Group and add this : °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Varname : news Title : Display news box ? Display Order : 560 vBulletin Default : Yes °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° now, click on the link News > Option, and under 'Display news box ? [Edit] [Delete] [Add Setting]' click 'Add new value' with these values : °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Varname : aff_new Setting Group : Display news box ? Title : Display news box Description : This option allow you to display or not the news box on your forum Option Code : yesno Default : Display Order : 1 °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Remove $debug=1; from your config.php in the file index.php, find : °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° $globaltemplates = array( 'FORUMHOME', 'forumhome_birthdaybit', 'forumhome_event', 'forumhome_forumbit_level1_nopost', 'forumhome_forumbit_level1_post', 'forumhome_forumbit_level2_nopost', 'forumhome_forumbit_level2_post', 'forumhome_lastpostby', 'forumhome_loggedinuser', 'forumhome_moderator', 'forumhome_pmloggedin', 'forumhome_subforumbit_nopost', 'forumhome_subforumbit_post', 'forumhome_subforumseparator_nopost', 'forumhome_subforumseparator_post' °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° and add just after : °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° , 'danews', 'danews_news', 'danews_fin' °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Still in index.php, before : °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° eval('$navbar = "' . fetch_template('navbar') . '";'); °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° add : °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° require_once('./includes/functions_bbcodeparse.php'); $cmp = 0; $alt=1; if ($vboptions['aff_new']) { $news=$DB_site->query("SELECT * FROM " . TABLE_PREFIX . "news ORDER BY newsid"); eval('$news_affichage .= " ' . fetch_template('danews') . '";'); while ($new = $DB_site->fetch_array($news)) { $new['comments'] = parse_bbcode($new['comments']); eval('$news_affichage .= " ' . fetch_template('danews_news') . '";'); $alt++; if ($alt>2) $alt=1; } eval('$news_affichage .= " ' . fetch_template('danews_fin') . '";'); } °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Now, upload the file news.php to your admincp folder. Don't forget to upload the new admincp/index.php and index.php too. To finish, add 3 templates : - danews - danews_news - danews_fin with the content of txt files ot the same name included in the archive. Now, add $news_affichage where you want in the FORUMHOME template (I suggest you under $navbar) Erstelle Template "danews" und füge ein <div align="center"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="70%" align="center"> <thead> <tr> <td class="tcat"> <a style="float:right" href="#top" onclick="return toggle_collapse('news')"><img id="collapseimg_news" src="images/buttons/collapse_thead.gif" alt="" border="0" /></a> $vbphrase[news] $vboptions[bbtitle] </td> </tr> </thead> <if condition="$bbuserinfo[usergroupid] == 0"> <table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" class="tborder" width="70%" align="center"> <tr> <td> <table cellpadding="$stylevar[cellpadding]" cellspacing="1" border="0" width="100%"> <tr> <td class="tcat" align=center> <table border=0 cellpadding='0' cellspacing='0'> <tr> <td width=500 class="alt1"> <marquee><a href="register.php?do=signup"><font color="red">Vous n'etes actuellement pas enregistré, cliquez ici pour le faire !</a></normalfont></marquee> </td> </tr> </table> </td> </tr> </table> </td></tr></table> </if> <tbody id="collapseobj_news" style=""> ############## Erstelle Template "danews_fin" und füge ein </tbody> </table> </div> <br/> ############## Erstelle Template "danews_news" und fürge ein <tr> <td class="alt$alt" align="center" cellpadding="0"> <table border="0" width="80%"> <tr> <td><marquee>$new[comments]</marquee></td> </tr> </table> </td> </tr>![]()
Schlage mich gerade bei der Integration dieses Tools auch herum.
Bei Step 3 (Importiere Sprache) bleibt er dann stehen..
Importiere Sprache, Bitte warten...
vBulletin-Systemmitteilung
Die vBulletin-Version der Datei(3.0.0) stimmt nicht mit der installierten Version(3.0.3) überein.
Ich habe die news51_templates.xml mit der vorhin beschriebenen Zeile
<style name="custom" vbversion="3.0.3" type="vbdhome"> angepasst, trotzdem kommt diese Fehlermeldung.
Was kann ich tun ?
Grüße
Arne
Okay, ich habe die Lösung bereits.
Also, jeder der die selbe Frage hatte, hier die Antwort:
Wichtig ist, das nicht nur die beschriebene Datei news51_templates.xml geändert wird, sondern auch die Datei news51_langage_en.xml.
So, mal schauen, ob die Installation jetzt klappt...
Grüsse Arne
Okay, die Installation lief durch.
Trotzdem wird kein Text angezeigt.
Wo genau (header?) sollte die Variable $news_affichage denn angezeigt werden ?
Ich kann mit der Aussage "Add the following var where you want the news to be shown" recht wenig anfangen..
Grüsse Arne
So, nachdem ich nun über 6 Stunden an diesem blöden News Ticker gearbeitet habe, und ich diesen immer noch nicht integrieren konnte, habe ich mir einfach selber einen geschrieben.
Naja, ist halt nur html Code den ich im Header implementiert habe, und auch wenn das nur via IE funktioniert, ist das für mich trotzdem immer noch die einfachste Art und Weise, den News Ticker zu integrieren, manchmal darf es auch einfach sein...
das nächste ist nun ein Automatismus via mySQL integration.Code:<width="*"><center><marquee onmouseout="this.start()"onmouseover="this.stop()" scrolldelay="150" direction="left"><b>Datum von: <a href="Link zum Benutzernamen"> Benutzername<a/> Betreff: <a href="Link zum Posting"><font face="Arial Black"><font color="#FF0000">Betreff des Postings/Threads </font></marquee></center></b>
Mal schauen ob das auch gelingt.
Das ist jedenfalls eine ganz gute Übergangslösung für mich....
Grüße
Arne
hallo,
habe alle datein in den admincp ordner kopiert und dann die news51_install.php im browser ausgeführt dann kommt die meldung:
Fatal error: Call to undefined function globalize() in /var/www/web8/web/vb/admincp/news51_install.php on line 32
benutze vb 3.6.9
cu
mfg Kottos
Das Thema ist 4 Jahre alt und somit auch der Hack
Frage oder suche bitte in einem unserer Foren für vBulletin-Modifikationen nach einer neuen Version:
http://www.vbulletin-germany.org (deutsch)
http://www.vbulletin.org (englisch)
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
Lesezeichen