Blog

RGVRockCity Forums launched

January 19, 2010 in Web Site News by Jorge

Hello, George here with some updates for you!

I’m very pleased to announce that RGVRockCity Forums are open.  Join to post things of interest to you and that might be of interest to other people.  Currently, on the forums:

Real or fake: Pictures of dead lamb with human face

Fridays – Open Mic Night:All Genres Welcome

forest of suicide

And much more.  Register or login and enjoy the RGVRockCity Forums.

RGVRockCity upgraded with new features

January 14, 2010 in Web Site News by Jorge

We have upgraded the service to WordPress 2.9.1 which provides a whole bunch of new features.

Introducing WordPress 2.9 Carmen

This movie requires Adobe Flash for playback.

One of personal favs in oEmbed feature.  It’s nifty.

Why isn’t your South Texas band with RGVRockCity.com?

January 13, 2010 in Web Site News by Jorge

Hello everyone,

George here with some interesting stuff for South Texas musicians. For the new year, new approaches must be taken to insure that your band is getting all the necessary attention it deserves.

At RGVRockCity.com (formerly TenetCommunity.com, which is still active) has always provided a free and central location to upload your band performance dates so internet goers can easily find your information. This along with 1 gigabyte of storage space for music and images to show off to your friends and fans, and a minimal use of ads (to help pay some bills).

For the past 9 years, I personally have researched search engine behavior from the information gathered by our servers and have gained a vast knowledge of how to promote yourself with relevant and updated content online. The sole purpose has been used to promote RGVRockCity.com and TenetCommunity.com, which then, turns around and promotes our local arts and music scene.

The following search-phrases as an examples:
Google: rock concerts 2010 rio grande valley or rock concerts rgv 2010

There are more search terms that can be used, however, the point is our work has placed us on the first page of the number one referrer online, Google.com. We trail only those that have invested thousands of dollars in marketing research and underhanded business schemes (which I don’t mind but it’s hardly community driven).

Our community driven Web site helps promote local South Texas arts and culture by allowing our users to update their own RGVRockCity.com domain. In addition, information is reflected on the front page of the site which brings more awareness to the artists and musicians (or anyone that wants to blog, for that matter).

Are you scared of trying something new? Maybe. Either way, we’re not new so there’s no worries. If you’ve never visited, then it is new to you and in that case, don’t be a scared of something new. After all, you were trying your hardest to get your band noticed when it was new, then why not give us a shot?

It’s free, owned and maintained in the Rio Grande Valley and if you don’t like it, you can always delete your account. I promise not to shed a tear but I will miss you. However, I believe you will enjoy the experience and so will your friends, family and fans.

Sincerely,

Jorge Saldivar

Webmaster of RGVRockCity.com

Web site news

January 8, 2010 in Web Site News by Jorge

For the next several hours, the site will be acting funny. There’s a bit of code that’s gone rogue so I have to round it up, and fix the fence.

Plugins will also be deactivated and selectively reactivated.

UPDATE: Plugins have been disabled site-wide indefinitely.  It might be brought back as a premium feature.  More to come.

Use the same Category Template for all Child Categories

January 4, 2010 in Code Lib, How to by Jorge

This is a relatively undeveloped code so it hasn’t been tested and I would not suggest using this for production.

How to use the same category-slug.php template for the category and all child categories?

<?php
/**
FORCE CHILD CATEGORIES TO USE PARENT CATEGORY TEMPLATE
Modified code from http://codex.wordpress.org/User:Lorelle/Custom_Category_Template
v0.2
*/
	$jasbt_get_cat = get_category($cat);
	// LET'S FIND OUT IF THIS IS A PARENT CATEGORY PAGE
	if ($jasbt_get_cat->category_parent == 0) {
		$jasbt_get_cat->category_parent = $cat;

	} else {

		// IF PARENT CATEGORY IS "FOO" THEN USE "/CATEGORY-FOO.PHP" THEMPLATE
		$parent_category = get_category($jasbt_get_cat->category_parent);

		// Edit parent category name from 'FOO' to either 'ID', 'category-slug', or 'Category Name'
		if ($parent_category->cat_name == 'FOO') { 

			// Edit the category template from 'category-foo.php' to '/category-ID.php' or '/category-slug.php'
			include(TEMPLATEPATH. '/category-FOO.php');
			exit; // All done.
		}
	}
// IF NOT FORWARDED, CONTINUE WITH THEME ?>
<?php get_header(); ?>

Explanation: If the cat is a parent category, then it does nothing and continues reading either the category.php file or the archive.php (if it cannot find the category.php file then it will look for the archive.php file; then if that one isn’t there, it will use the index.php file). If it has both, then it will first look at the category.php and in which case you’ll want the code there. If the category.php file is not present, then use this code in the archive.php file.

Development: This code is under development and, to me, looks sloppy but it’s a start.

Unique Templates for Categories

January 4, 2010 in Code Lib, How to by Jorge

Recently, I have been developing a theme with special features and figured that I can post some WordPress code goodies here.

How to assign a different category template for a category or a sub-category.

Place the following code before the get_header() hook on the archive/category theme file (i.e. archive.php or category.php file).

In this example, I do not have ‘/category.php’ template because I’m using the ‘/archive.php’ template (click here for WordPress Template Hierarchy diagram ). Instead, I want to assign category templates to certain categories and then continue using my archive template as is.

I want the “Foo” category to have it’s own style separate from other categories and so I created a ‘/category-foo.php’ template file with its own style and added the following code to the first line of my ‘/archives.php’ template file.

<?php
	if (in_category('ID' or 'foo-slug' or 'Foo Name')) {
		include(TEMPLATEPATH . '/category-foo.php');
		exit;
	}
?>

If you have multiple categories that will be assigned to other theme files, then use this code:

<?php
	if (in_category('ID' or 'cat-slug' or 'Cat Name')) {
		include(TEMPLATEPATH . '/cat-template.php');
		exit;
	}
	elseif (in_category('ID' or 'other-cat-slug' or 'Other Cat Nam')) {
		include(TEMPLATEPATH . '/other-cat-temp.php');
		exit;
	}
?>

Unfortunately, this code only works for the parent category or child category that it is specifically assigned and does not automatically work for the child categories of the assigned. I’m currently working on a hack for that.

WP Footer HTML

December 16, 2009 in Plugins by Jorge

Formerly WPMU Footer HTML at InstalledDesign.com now on RGVRockCity.com Web site developement.

Ever get tired of having to update the footer to every theme you upload to your WordPress powered Web site?

This plugin enables admins to add a piece of arbitrary HTML to the footer of their WP Theme. Compatible with WPMU. The WP theme or WPMU theme must have the wp_head() and wp_footer() hooks to function properly. Currently there is no backend support and the file must be edited using a TEXT or PHP editor.

http://rgvrockcity.com/wp-content/plugins/downloads-manager/img/icons/winzip.gif

download: WP Footer HTML (871B)

added: 16/12/2009
clicks: 32

description:

Formerly WPMU Footer HTML at InstalledDesign.com. This plugin enables admins to add a piece of arbitrary HTML to the footer of their WP Theme. Compatible with WPMU. The WP theme or WPMU theme must have the wp_head() and wp_footer() hooks to function properly. Currently there is no backend support and the file must be edited using a TEXT or PHP editor.
btn_donateCC_LG

donations:

Donations are appreciated and always accepted. If you have found this download useful, please consider donating a couple of bucks for the cause.

Installation:

WordPress Single Install – Un-zip the file and upload to your http://example.com/wp-contents/plugins/ directory.  The arbitrary HTML will appear in the footer of the theme even after you change themes.

WordPress MU Install – Un-zip the file.  Edit the file using a text or PHP editor and upload to your http://example.com/wp-contents/mu-plugins/ directory.  The arbitrary HTML will appear site-wide.

Editing:

The plugin works on two WordPress hooks, wp_head() and wp_footer(), so any theme must have those two hooks to function properly.

CSS – Edit the code within the specified text.

<!-- START WP FOOTER HTML CSS -->
<style type="text/css">
div#wp-footer-html    {
 text-align: center;
}
</style>
<!-- END WP FOOTER HTML CSS -->

HTML – Edit the code within the <div> tags.

<div id="wp-footer-html">
 <p>Powered by <a href="http://wordpress.org">WordPress</a>.
 <?php
 $theme_data = get_theme_data(TEMPLATEPATH . '/style.css');
 echo $theme_data['Title'] . '&nbsp;';
 echo $theme_data['Version'] . '&nbsp;by&nbsp;';
 echo $theme_data['Author'];
 ?>.</p>
</div><!-- id="wp-footer-html" -->

WP-ADMIN – Uncomment the lines to have footer appear in the Dashboard area.

<?php } // DO NOT EDIT PAST THIS LINE!!!
add_action('wp_head','jaswpfooter_css');
add_action('wp_footer','jaswpfooter_html');
// UN-COMMENT THE FOLLOWING LINES IF YOU WANT THE FOOTER TO APPEAR IN THE WP-ADMIN AREA
// add_action('admin_head','jaswpfooter_css');
// add_action('admin_footer','jaswpfooter_html','1');
?>

Development:

Anyone is welcome to work on this plugin, however, I ask that you let us know what edits have been made to include it in future releases.

:) Enjoy!

News and Volunteers Wanted

October 26, 2009 in Uncategorized by Jorge

Hello everyone,

Jorge here with some RGVRockCity News.  We’re going to start updating the main blog of this page with interesting stuff from across the RGV and sometimes from throughout the great land of Texas.  Now daily we receive about a fairly deceint amount of unique visitors and why not begin to provide readers with something interesting from the Rio Grande Valley?

We’ll start off with some amateur photography.  I snapped shots of the Monarch Butterfly as it made a stop in McAllen.  You can find other snap shots but the butterflies caught my eyes.

This site’s focus, however, is the local music, arts and talents of those in the Rio Grande Valley and therefore a great deal of work was put into creating a central place to upload your concert dates and allow your fans to download music for free (yes, free — and I’ll get into that into that in the next post).  Sign up and upload your stuff.

Finally, volunteers are needed to help keep up the concert calendar.  We have so many visitors come to the site and I haven’t had time to update it.  Any interested parties are encouraged to contact me directly at twitter.com/jas956 – I look forward to replies.

Updated Flier for Open-Mic Night

September 11, 2009 in Special Events by Jorge

JOHNNY’S BBQ – 703 W. FERGUSON RD – PHARR, TX

YOU’RE INVITED

FRIDAY OPEN-MIC NIGHT
STARTS AT 8PM
ALL GENRES WELCOME TO PERFORM!

NO COVER
$2 LONGNECKS

MYSPACE.COM/JOHNNYSBBQ

OPEN MIC NIGHT HOSTED BY:
THE GEORGE KEEN BAND

BROUGHT TO YOU BY
RGVROCKCITY.COM AND GRIMe

WED – 8PM
Blues Jam Session
Feat. Lance Wolf &
The Hard Times Blues BandTHURS – 8PM
Karaoke NightFRIDAY – 8PM
Open-Mic Night
All genres welcome!

SAT – 8PM 
Blues Jam Session Feat.
The Hard Times Blues Band

RGVRockCity presents Open-Mic Night at Johnny’s BBQ

September 3, 2009 in Special Events by Jorge

August has been one awesome month for us here at RGVROCKCITY.COM!

We’ve been busy with hosting Johnny’s BBQ Friday Open Mic Nights which has been featuring some great talent. Phil from Mach II with Amanda playing some acoustic rock, DogmaHolloW with metal madness, Blue Me with um, blues, SIK and Primitive Minds flowing with hip-hop, Junkyard Trio and many more artists that are making their way to Johnny’s BBQ.

Not only great artists attending but also a great audience! Each night we’ve had a great response from attendees and we want to give them more! Not to mention everyone that has been there has asked if we’re going to continue this…DAMN SKIPPY WE ARE!

I’ll post the new flier as soon as possible but we’re extending the August Concert Series for the entire FALL SEASON! Get out to Johnny’s and see why it’s been the place to be Friday nights.

No cover, free parking, Ice cold $2 LN ($10.50 Buckets), Non-stop music from all sorts of genres, pool, and good times!

Special thanks to GRIMe!