Welcome to the E-Blah Community!
We would like to welcome you to our community and invite you to register an account or login.
Being a registered member is important, as it gives you several advantages over the normal Guest status. After registering you will be able to download files and images, post messages, and access member-only portions of the forum - just to name a few. Registration is quick and simple, and only takes about a minute of your time.

E-Blah Community    Technical Support    Question and Answer  ›  News Script Question
Users Browsing Forum
No Members and 1 Guests

News Script Question  This thread currently has 959 views. Print
1 Pages 1 Recommend Thread
importracer
January 9, 2003, 12:24am Report to Moderator Report to Moderator
E-Blah Member
Posts: 90
Posts Per Day: 0.04
Is there a way to have the news script just give a snipit of information from a post in a board that is defined in the news script? My site does news and articles but I cannot display our full articles on the mainpage becuase they are too long. Could the News script just display an admin defined amount of lines and then have a "for full story click here" link? If you don't understand what I mean you can goto www.mtgnews.com to see what I mean.
Logged Offline
Site Site Private Message Private message
Justin
January 9, 2003, 8:13pm Report to Moderator Report to Moderator

The E-Blah Developer
E-Blah Programmer
Posts: 15,075
Gender: Male
Posts Per Day: 6.52
Reputation: 93.40%
Reputation Score: +297 / -21
Time Online: 36 days 23 hours 27 minutes
Location: Tallassee, AL
Age: 22
As of 2.6 (I think) the news is trimmed to 2,000 words (or less). You can use the coments and other links for the other part. You can change this by editing 'News.pl'.




- Justin


I do installs for $25 and upgrades for $20.
Technical support is always free.

  Donate to E-Blah!  

My Websites: Revolution Reality (My Blog)  |  MinistryTalk.com  |  Portfolio

"But you, O Lord, are a compassionate and gracious God, slow to anger, abounding in love and faithfulness." — Psalm 86:15 NIV

Logged Offline
Site Site Private Message Private message Reply: 1 - 12
importracer
January 10, 2003, 3:54am Report to Moderator Report to Moderator
E-Blah Member
Posts: 90
Posts Per Day: 0.04
Justin, I tried changing the variable in News.pl and it had no effect on the portal. I think the variable needs to be added to the news script in Portal.pl but I am not quite sure how to do this, but I will do some tests later and tell you how I am coming along.
Logged Offline
Site Site Private Message Private message Reply: 2 - 12
Justin
January 10, 2003, 4:30pm Report to Moderator Report to Moderator

The E-Blah Developer
E-Blah Programmer
Posts: 15,075
Gender: Male
Posts Per Day: 6.52
Reputation: 93.40%
Reputation Score: +297 / -21
Time Online: 36 days 23 hours 27 minutes
Location: Tallassee, AL
Age: 22
Portal.pl should be the same way ... you may have to add the lines from News.pl to Portal.pl (that do the char. counting and all).



- Justin


I do installs for $25 and upgrades for $20.
Technical support is always free.

  Donate to E-Blah!  

My Websites: Revolution Reality (My Blog)  |  MinistryTalk.com  |  Portfolio

"But you, O Lord, are a compassionate and gracious God, slow to anger, abounding in love and faithfulness." — Psalm 86:15 NIV

Logged Offline
Site Site Private Message Private message Reply: 3 - 12
importracer
January 12, 2003, 8:16pm Report to Moderator Report to Moderator
E-Blah Member
Posts: 90
Posts Per Day: 0.04
Do you think we could have this variable to be adjusted through the admin center?
Logged Offline
Site Site Private Message Private message Reply: 4 - 12
Justin
January 12, 2003, 8:17pm Report to Moderator Report to Moderator

The E-Blah Developer
E-Blah Programmer
Posts: 15,075
Gender: Male
Posts Per Day: 6.52
Reputation: 93.40%
Reputation Score: +297 / -21
Time Online: 36 days 23 hours 27 minutes
Location: Tallassee, AL
Age: 22
I might add it ... hrmmm ... remind me tommorow. I'm going to play some JO now.



- Justin


I do installs for $25 and upgrades for $20.
Technical support is always free.

  Donate to E-Blah!  

My Websites: Revolution Reality (My Blog)  |  MinistryTalk.com  |  Portfolio

"But you, O Lord, are a compassionate and gracious God, slow to anger, abounding in love and faithfulness." — Psalm 86:15 NIV

Logged Offline
Site Site Private Message Private message Reply: 5 - 12
Justin
January 13, 2003, 6:14pm Report to Moderator Report to Moderator

The E-Blah Developer
E-Blah Programmer
Posts: 15,075
Gender: Male
Posts Per Day: 6.52
Reputation: 93.40%
Reputation Score: +297 / -21
Time Online: 36 days 23 hours 27 minutes
Location: Tallassee, AL
Age: 22
Added.


I do installs for $25 and upgrades for $20.
Technical support is always free.

  Donate to E-Blah!  

My Websites: Revolution Reality (My Blog)  |  MinistryTalk.com  |  Portfolio

"But you, O Lord, are a compassionate and gracious God, slow to anger, abounding in love and faithfulness." — Psalm 86:15 NIV

Logged Offline
Site Site Private Message Private message Reply: 6 - 12
importracer
January 13, 2003, 10:52pm Report to Moderator Report to Moderator
E-Blah Member
Posts: 90
Posts Per Day: 0.04
Sweet, thanks dude
Logged Offline
Site Site Private Message Private message Reply: 7 - 12
importracer
January 17, 2003, 11:44am Report to Moderator Report to Moderator
E-Blah Member
Posts: 90
Posts Per Day: 0.04
Justin, I am thinking of adding a second news script any advice you could give me would be great.
Logged Offline
Site Site Private Message Private message Reply: 8 - 12
Justin
January 17, 2003, 4:39pm Report to Moderator Report to Moderator

The E-Blah Developer
E-Blah Programmer
Posts: 15,075
Gender: Male
Posts Per Day: 6.52
Reputation: 93.40%
Reputation Score: +297 / -21
Time Online: 36 days 23 hours 27 minutes
Location: Tallassee, AL
Age: 22
lol ... you'd have to edit News.pl (first, make a second one named News2.pl), then make a thing in Blah.pl (that requires News2.pl). Umm yeah ... not on my computer right now.


I do installs for $25 and upgrades for $20.
Technical support is always free.

  Donate to E-Blah!  

My Websites: Revolution Reality (My Blog)  |  MinistryTalk.com  |  Portfolio

"But you, O Lord, are a compassionate and gracious God, slow to anger, abounding in love and faithfulness." — Psalm 86:15 NIV

Logged Offline
Site Site Private Message Private message Reply: 9 - 12
importracer
January 17, 2003, 8:13pm Report to Moderator Report to Moderator
E-Blah Member
Posts: 90
Posts Per Day: 0.04
Ok, I did that now I think I need to do something to Admin2.pl so I can set this up in the Admin Center.
Logged Offline
Site Site Private Message Private message Reply: 10 - 12
Justin
January 17, 2003, 9:19pm Report to Moderator Report to Moderator

The E-Blah Developer
E-Blah Programmer
Posts: 15,075
Gender: Male
Posts Per Day: 6.52
Reputation: 93.40%
Reputation Score: +297 / -21
Time Online: 36 days 23 hours 27 minutes
Location: Tallassee, AL
Age: 22
Yeah ... I donno how to explain those parts.


I do installs for $25 and upgrades for $20.
Technical support is always free.

  Donate to E-Blah!  

My Websites: Revolution Reality (My Blog)  |  MinistryTalk.com  |  Portfolio

"But you, O Lord, are a compassionate and gracious God, slow to anger, abounding in love and faithfulness." — Psalm 86:15 NIV

Logged Offline
Site Site Private Message Private message Reply: 11 - 12
importracer
January 17, 2003, 11:52pm Report to Moderator Report to Moderator
E-Blah Member
Posts: 90
Posts Per Day: 0.04
I did it. Wasn't really hard just took some patience. I have a few more things I want to do and I want to wait until 2.8 is released but once that is done I will will send you my hacked files to see if you want to use them.
Logged Offline
Site Site Private Message Private message Reply: 12 - 12
1 Pages 1 Recommend Thread
Print

E-Blah Community    Technical Support    Question and Answer  ›  News Script Question