Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > BT.Manager (phpMyBitTorrent)
Reply
  #1  
Old 29th August 2012, 13:12
Giorgatzelos's Avatar
Giorgatzelos Giorgatzelos is offline
Senior Member
 
Join Date: Nov 2009
Greece
Posts: 300
Default Site News Function Help...
i 've found a news function for my site...an already installed and working fine.
it's a flash news fully edited by 2 xml's all files are at my root directory of my site...
How can i add an editor in admin panel so i won't have to access my root directory for editing and refreshing the news?

xml's names are white.xml and black.xml
Attached Thumbnails
29-8-2012 14-11-09.jpg  
Reply With Quote
  #2  
Old 29th August 2012, 13:27
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
thats not a easy task with out knowing what code you are using.
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
The Following User Says Thank You to joeroberts For This Useful Post:
Giorgatzelos (29th August 2012)
  #3  
Old 29th August 2012, 13:47
Giorgatzelos's Avatar
Giorgatzelos Giorgatzelos is offline
Senior Member
 
Join Date: Nov 2009
Greece
Posts: 300
Default
If i move it into the theme folder will the admin theme editor be able to "see" those files or it can handle ony .php and .css?

Bump:
Quote:
Originally Posted by Giorgatzelos View Post
If i move it into the theme folder will the admin theme editor be able to "see" those files or it can handle ony .php and .css?
Tried it and it did not...
Reply With Quote
  #4  
Old 30th August 2012, 12:49
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
Quote:
Originally Posted by Giorgatzelos View Post
If i move it into the theme folder will the admin theme editor be able to "see" those files or it can handle ony .php and .css?

Bump:

Tried it and it did not...
in admin/files/Themerdit.php
find
PHP Code:
                if (eregi("\.php$",$file) OR eregi("\.css$",$file) AND strtolower($file) != "mailtexts.php"
and make it
PHP Code:
                if (eregi("\.xml$",$file) OR eregi("\.php$",$file) OR eregi("\.css$",$file) AND strtolower($file) != "mailtexts.php"
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
The Following User Says Thank You to joeroberts For This Useful Post:
Giorgatzelos (30th August 2012)
  #5  
Old 31st August 2012, 00:11
Giorgatzelos's Avatar
Giorgatzelos Giorgatzelos is offline
Senior Member
 
Join Date: Nov 2009
Greece
Posts: 300
Default
It worked...even though i had to edit the .swf so it looks for the .xml in themes/mytheme/...
Thanx!

Bump: How can i setup something like this you have in bvlist?
Attached Thumbnails
news.jpg  
Reply With Quote
Reply

Tags
function , news , site

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 00:08. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.