Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
Change Title of Podcast
Dan Druff
Join Date: Mar 2012
Posts: 11

by Dan Druff Dan Druff is offline 24 Dec 2012
Rating: (1 vote - 4.00 average)

vBulletin has a great built-in podcast system, but it is unfortunately LACKING one very basic feature: You can't name your podcasts!

When vBulletin generates an RSS Feed for iTunes and other podcasting services, it automatically assigns a name to your podcast. That name is always a concatenation of the name of your forums and the individual forum name where they appear. For example, if your forums were called "Baseball Discussion Forums" and the podcast forum was called "Our Podcasts", all of your podcasts would be listed as "Baseball Discussion Forums - Our Podcasts" on iTunes, which is cumbersome-looking and unprofessional. If you wanted the Podcast to simply be called "The National League Report", you couldn't do it.

This modification allows you to name your podcasts whatever you want. It requires one simple database change and two small modifications to source code.

Database Change

1)Locate the podcast database entry.

2) Add a column to the end of the entry called "podcastname" (without the quotes). Make it identical to the "author" entry, in terms of format. This is, make it of type VARCHAR length 255, with latin1_swedish_ci collation.

This database change is mandatory! This modification will crash without it. However, it is backwards compatible with your other podcasts, so the database change itself will not harm anything, even if you back out this modification at some point.



Source Changes

You will be modifying two source files. One is external.php in your main forum directory. One is forum.php in the admincp subdirectory of your forum.

Changes for external.php are as follows:

Locate this block:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add the following code BEFORE the block:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add the following right AFTER the block:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Here are the changes to make for forum.php in the admincp directory:

Locate the following code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add the following code right AFTER:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Next, locate the following code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add the following line right AFTER:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Next, locate the following code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

REPLACE that code with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That's it!

Now you will have a new field to enter your podcast name in the Podcast Settings admin screen. The new field is circled in the attachment below:



Make sure you go to your existing podcasts and add a name to them!
Views: 2094
Reply With Quote
Comments
  #2  
Old 25 Dec 2012, 10:14
o.dinc o.dinc is offline
 
Join Date: Dec 2011
Good Job , Thanks...

Last edited by o.dinc; 25 Dec 2012 at 10:54.
Reply With Quote
  #3  
Old 25 Jan 2015, 21:34
brandondrury brandondrury is offline
 
Join Date: Oct 2005
Since this requires changes to hard coded files, I'm going to skip the database change and simply enter my Podcast name in external.php. Let's see if it works.

Thanks for the help!

Brandon
__________________
Home Recording Forum

Brandon
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Article Options

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


New To Site? Need Help?

All times are GMT. The time now is 10:46.

Layout Options | Width: Wide Color: