Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

[ FREE PLUGIN ] ULTRAGlobals - Collection of Globals and routines

(Page 1 of 10)
> >
Quote Reply
[ FREE PLUGIN ] ULTRAGlobals - Collection of Globals and routines
Hi,

I'm working on a "toolkit" kind of thing, that will be a compilation of globals, all in a plugin - ready for use. The idea being, the main globals you would like to use / see, are all available in one package :) Over time this will be updated, and more added - but to start with, I'd like to know what kind of things you would like to see if this plugin?

OFFICIAL PAGE (including most up-to-date download) - http://www.ultranerds.com/...s/ULTRAGlobals_L217/

TIA

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates

Last edited by:

Andy: Nov 10, 2008, 9:09 AM
Quote Reply
Re: [Andy] [ ULTRAGlobals ] Ideas please In reply to
Hi,

Please feel free to give this first version a go :)

So far - I've got these functions in place (all documented in the Readme);

Get_Image_URL() - get the URL to a FILE type field (designed for images, but will work for other types of attachments)
Trim_Field() - trim a value to a sect number of charachters
Get_Links_Categories() - gets a lopp of the categories a link is in. For example, if its listed in 2 categories - it will get those 2 categories, and also give the links to them.
Get_URL() - Simply gets a URL (some people need this feature =))
Format_Select_Field() - Lets you pre-populate a SELECT field on the add / modify form, so that if a value is pre-selected, it will auto-select for you.

Please let me know your feedback =)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates

Last edited by:

Andy: Dec 17, 2007, 7:49 AM
Quote Reply
Re: [Andy] [ ULTRAGlobals ] Ideas please In reply to
Hi,

Version 1.1 is attached now :)

This includes 4 more globals:

1) Load_Category_Dropdown() - create a SELECT box of your categories, indented - and with option of showing Number_of_Links too.
2) Last_Searched_Words() - global for loading the most recent searched queries (based on the built in searchlogger table)
3) Top_Search_Words() - global for loading the top search queries (based on the built in searchlogger table)
4) NL_2_BR() - converts new line breaks into <br /> tags, for formatting in HTML.

All of these are documented in the "Readme" section too - so should make more sense once you read that :)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates

Last edited by:

Andy: Dec 17, 2007, 7:49 AM
Quote Reply
Re: [Andy] [ ULTRAGlobals ] Ideas please In reply to
Code:
sub NL_2_BR {
my $in = $_[0];
$in =~ s/\n/\<br \/\>/sig;
return;
}

...would be better as....

Code:
sub NL_2_BR {
my $in = $_[0] or return;
$in =~ s|\r?\n|<br />|sg;
return;
}

There's no need for all the escaping nor the "i" seeing as you're not matching different cases. Depending on how the input is generated you might have carriage returns also, hence the \r.
Quote Reply
Re: [Andy] [ ULTRAGlobals ] Ideas please In reply to
Hi Andy,
a really nice idea.
Unfortunately I have already installed these globals. Think I was to fast Pirate

But for new links owner your ultra globals would spare a lot of time.

What happens if I have these globals already installed and I'm installing your Ultraglobals, too?.
Are the first globals overwritten?

Thanks
Matthias

Matthias
gpaed.de
Quote Reply
Re: [Matthias70] [ ULTRAGlobals ] Ideas please In reply to
Hi Andy,
forgot, you are looking for ideas

get links by owner
Code:
sub {

my $user = $_[0];

my $sth = $DB->table('Links')->select( { LinkOwner => $user, isValidated => 'Yes', Build_Detailed_Page => 1 } ) || return $GT::SQL::error;

my $back;
while (my $hit = $sth->fetchrow_hashref) {
$back .= qq|<p><a href="$CFG->{build_root_url}/Detailed/$hit->{ID}.html">$hit->{Title}</a></p>|;
}

return $back;
}

Sitemap
Code:
sub {
# -------------------------------------------------------------------
my $tags = shift;
my $cat_db = $DB->table('Category');
$cat_db->select_options ('ORDER BY priority');
my $sth = $cat_db->select ( { FatherID => 0}, ['Full_Name','ID','Name'] );
my $output=qq~<table><tr valign=top><td width="25%"><table>~;
my $i=0;
while (my ($root_cat,$ID,$heading) = $sth->fetchrow_array) {
$i++;
my $url1 = $cat_db->as_url($root_cat);
$output.= qq~<tr><td colspan=2><font size=-1><b><a href="$CFG->{build_root_url}/$url1/index.html" class="toc"><br/>$heading</a></b></font></td></tr>~;
$cat_db->select_options ('ORDER BY Full_Name');
my $sth2 = $cat_db->select ( { FatherID => $ID}, ['Full_Name','ID','Name'] );
while (my ($cat,$id,$heading1) = $sth2->fetchrow_array) {
# my $link_count = $DB->table('CatLinks')->count ( {CategoryID => $id});
my $url = $cat_db->as_url($cat);
$output .= qq~<tr><td>&nbsp;</td><td><font size=-2><a href="$CFG->{build_root_url}/$url/index.html" class="toc">$heading1</a></font></td></tr>~;
$cat_db->select_options ('ORDER BY Full_Name');
my $sth3 = $cat_db->select ( { FatherID => $id}, ['Full_Name','ID','Name'] );
while (my ($cat2,$id2,$heading2) = $sth3->fetchrow_array) {
}
}
if (($i eq '13')or ($i eq '19') or ($i eq '33') or ($i eq '40')){ $output.=qq~</table></td><td width="25%"><table align=top>~;}
}
$output.="</table></td></tr></table>";
return $output;
}

Top 100 Links
Code:
sub {
my $tags = shift;
my $table = $DB->table('Links');
$table->select_options ('ORDER BY Hits DESC', 'LIMIT 100');
my $sth = $table->select;
my @output;
while (my $link = $sth->fetchrow_hashref) {
push (@output, $link);
}
return { top100_loop => \@output };
}

User download Top
Code:
sub {

my $db = $DB->table('Links');
$db->select_options( "GROUP BY LinkOwner","ORDER BY hits_count DESC" );
my $sth = $db->select("LinkOwner", "SUM(Hits) as hits_count","Count(*) as link_count") or die "Query Error: $GT::SQL::error";

my $back;
while (my ($s, $h,$c) = $sth->fetchrow_array) {
if ($h < 500) { next; }
my $url = $CFG->{db_cgi_url} . "/search.cgi?query=;LinkOwner=$s";
$back .= qq|> <a href="$url">$s</a> - $h Downloads in $c Eintr├Ągen <br />|;
}

return $back;

}

User Review Top 10
Code:
sub {

my $db = $DB->table('Reviews');
$db->select_options( "GROUP BY Review_Owner","ORDER BY review_count DESC","LIMIT 5");
my $sth = $db->select("Review_Owner", "COUNT(*) as review_count") or die "Query Error: $GT::SQL::error";

my $back;
while (my ($s, $c) = $sth->fetchrow_array) {
my $url = $CFG->{db_cgi_url} . "/review.cgi?username=$s";
$back .= qq| <a href="$url">$s</a> ($c Kommentare) <br />|;
}

return $back;

}

User listings
Code:
sub {

# normal links
my $link_db = $DB->table ('Links');
$link_db->select_options ('ORDER BY ID DESC','LIMIT 3') || die $GT::SQL::error;

my $sth = $link_db->select( { isValidated => "Yes", LinkOwner => $USER->{Username} } ) || die $GT::SQL::error;

my @links;

# just normal links.
while (my $link = $sth->fetchrow_hashref) {
push @links, $link;
}

# ratings
my $link_db = $DB->table ('Links');
$link_db->select_options ('ORDER BY Rating DESC', 'LIMIT 10') || die $GT::SQL::error;

my $sth = $link_db->select( { isValidated => "Yes", LinkOwner => $USER->{Username} } ) || die $GT::SQL::error;

my @links2;

# just top rated links.
while (my $link = $sth->fetchrow_hashref) {
push @links2, $link;
}

# ratings
my $link_db = $DB->table ('Links');
$link_db->select_options ('ORDER BY Hits DESC', 'LIMIT 10') || die $GT::SQL::error;

my $sth = $link_db->select( { isValidated => "Yes", LinkOwner => $USER->{Username} } ) || die $GT::SQL::error;

my @links3;

# just top rated links.
while (my $link = $sth->fetchrow_hashref) {
push @links3, $link;
}

return { user_links => \@links , user_links_by_hit => \@links3, user_links_by_rating => \@links2 }

}


random text
Code:
sub {
my @list = ('text1', 'text2');
return $list[rand @list];
}

Matthias
gpaed.de
Quote Reply
Re: [Matthias70] [ ULTRAGlobals ] Ideas please In reply to
Hi,

Give the attached a go =)

I've now added:

# Get_Links_By_Owner()
# Get_Top_Links()
# User_Review_Top_10()
# Users_Listings()

Again, all documented in the plugins Readme :)

Quote:
What happens if I have these globals already installed and I'm installing your Ultraglobals, too?.
Are the first globals overwritten?

Nope, it doesn't touch your globals :) All you have to do is install it - and then just use whatever functions you want Smile

Quote:
Unfortunately I have already installed these globals. Think I was to fast Pirate

heheh --- thats fine =) I'm sure there will be some useful ones to you in the near future Cool

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates

Last edited by:

Andy: Dec 17, 2007, 7:49 AM
Quote Reply
Re: [Wychwood] [ ULTRAGlobals ] Ideas please In reply to
Wychwood wrote:
There's no need for all the escaping nor the "i" seeing as you're not matching different cases. Depending on how the input is generated you might have carriage returns also, hence the \r.

Thanks, I've updated the latest version with that change =)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] [ ULTRAGlobals ] Ideas please In reply to
Andy wrote:


Quote:
Unfortunately I have already installed these globals. Think I was to fast Pirate


heheh --- thats fine =) I'm sure there will be some useful ones to you in the near future Cool

Cheers

Can't wait Blush


What about an ultra globals for g-community, too?
I have only one global for community. There must be some more?
Maybe something like this
http://www.gossamer-threads.com//perl/gforum/gforum.cgi?post=299123#p299123

Thanks
Matthias

Matthias
gpaed.de
Quote Reply
Re: [Matthias70] [ ULTRAGlobals ] Ideas please In reply to
Hi,

Pease find version 1.3 attached =) Rather than just listing the new functions it has, I'll list all of them =)
  • Get_Image_URL()
  • Trim_Field()
  • Get_Links_Categories()
  • Get_URL()
  • Format_Select_Field()
  • Load_Category_Dropdown()
  • Last_Searched_Words()
  • Top_Search_Words()
  • NL_2_BR()
  • Get_Links_By_Owner()
  • Get_Top_Links()
  • User_Review_Top_10()
  • Users_Listings()
  • Get_Page_Referrer()
  • Get_Current_URL()
  • Get_Totals()
  • Load_Cookie()


I don't know when I'm going to next update this plugin - kinda spent too long on it over this weekend - but hey'ho =) If anyone has any ideas for new globals to add, please let me know.

Quote:
What about an ultra globals for g-community, too?
I have only one global for community. There must be some more?
Maybe something like this
http://www.gossamer-threads.com//perl/gforum/gforum.cgi?post=299123#p299123

Mmm.. not sure to be honest. Its a lot of work putting something like this together (more in terms of having to document it, so people know how to use it :P)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates

Last edited by:

Andy: Dec 17, 2007, 7:50 AM
Quote Reply
Re: [Andy] [ ULTRAGlobals ] Ideas please In reply to
Andy wrote:

Mmm.. not sure to be honest. Its a lot of work putting something like this together (more in terms of having to document it, so people know how to use it :P)


I can imagine the time you spent on this global plugin.
In fact the explanations are really good.

There are so many globals in glinks. It's a shame that there are no globals in gcommunity Frown
If you have any globals for gcommunity. I'll take them without explanations Wink

Some more of the globals I'm using:

Lastest 5 new links
Code:
sub {
my $tags = shift;
my $table = $DB->table('Links');
$table->select_options ('ORDER BY ID DESC', 'LIMIT 5');
my $sth = $table->select( { isNew => 'Yes', isValidated => 'Yes' });
my @output;
while (my $link = $sth->fetchrow_hashref) {
push (@output, $link);
}
return { Lastlinks5_loop => \@output };
}


Latest Reviews
Code:
sub {
my (@links,$sth,$link);
my $search_db = $DB->table('Links','Reviews');
$search_db->select_options ("ORDER BY Review_Date DESC","LIMIT $_[0]");
$sth = $search_db->select ( { Review_Validated => 'Yes' });
while (my $link = $sth->fetchrow_hashref()) {
if (length $link->{Title} > 70) {
$link->{Title} = substr($link->{Title}, 0, 50) . '...';}
$link = Links::SiteHTML::tags('link', $link);
push@links, $link;
}
return {Latest_Revs=>\@links};<br>
}



Random Link
Code:
sub {
my $tags = shift;
my $link_db = $DB->table('Links','CatLinks');
my $cat_id = $tags->{Random_CatID};
my $limit = $tags->{Random_Limit} || 3;
my (@output, $sth);
$link_db->select_options ('ORDER BY RAND()', "LIMIT $limit");
if ($cat_id) {
$sth = $link_db->select ( { CategoryID => $cat_id });
}
else {
$sth = $link_db->select;
}
while (my $hash = $sth->fetchrow_hashref) {
push @output, $hash;
}
return { Random_Loop => \@output }
}


Category Menu everywhere
Code:
sub {
my $tags = shift;
my $cat_db = $DB->table('Category');
$cat_db->select_options ("ORDER BY priority");
my $sth = $cat_db->select (['Full_Name'], { FatherID => 0 });
my $output;
while ( my $root_cat = $sth->fetchrow_array) {
my $url = $cat_db->as_url($root_cat);
$output .= qq~<li><a href="$CFG->{build_root_url}/$url/index.html">$root_cat</a></li>~;
}
return $output;
}



By the way,
I'm using the global "user listings" in a different way than you are describing it in the plugin.
My way is just an overview on a user page:

Code:
<%users_listings%>

<h2>Your last 3 Entries</h2>

<%loop user_links%>
<ul style="list-style-type: none;">
<li><small><%row_num%>. <%if Build_Detailed_Page eq "1"%><a href="<%build_root_url%>/Detailed/<%ID%>.html"><%elsif URL ne 'http://' and isValidated eq 'Yes'%><a href="<%URL%>"><%endif%><%Title%></a> (<%Hits%> | <%Rating%>)</small></li>
</ul>
<%endloop%><br/><br/>

<h2>Your Top 10 Entries (Hits)</h2>

<%loop user_links_by_hit%>
<ul style="list-style-type: none;">
<li><small><%row_num%>. <a href="<%build_root_url%>/Detailed/<%ID%>.html"><%Title%> </a>(<%Hits%> | <%Rating%>)</small></li>
</ul>
<%endloop%><br/><br/>

<h2>Your Top 10 Entries (Rate)</h2>

<%loop user_links_by_rating%>
<ul style="list-style-type: none;">
<li><small><%row_num%>. <a href="<%build_root_url%>/Detailed/<%ID%>.html"><%Title%> </a>(<%Rating%> | <%Hits%>)</small></li>
</ul>
<%endloop%><br/><br/>


Thanks
Matthias

Matthias
gpaed.de

Last edited by:

Matthias70: Dec 17, 2007, 4:30 AM
Quote Reply
Re: [Matthias70] [ ULTRAGlobals ] Ideas please In reply to
Hi,

Heres version 1.4 <G> (getting through the version numbers - think I may have to start using stuff like 1.4.1, 1.4.2, etc Blush)

This version has the following added to it:

Latest_Reviews()
Latest_New_Links()
Random_Links()

I've used the globals you gave as a basis, but made some changes to them - so they will work with a few extra options (i.e instead of just 5 links, they can specify as many as they want).

Quote:
There are so many globals in glinks. It's a shame that there are no globals in gcommunity Frown
If you have any globals for gcommunity. I'll take them without explanations Wink

haha! I have to admit, I don't think there are many really at all (we have quite a few on our site, but thats because we are using GCommunity as our "Members Download System", so it has a heck of a lot of custom coding done to it =))


Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates

Last edited by:

Andy: Dec 17, 2007, 7:51 AM
Quote Reply
Re: [Andy] [ ULTRAGlobals ] Ideas please In reply to
Hi Andy,
did you see my changes in the above post.
Some explanations to html I'm using in the global "user listing"

Matthias

Matthias
gpaed.de
Quote Reply
Re: [Matthias70] [ ULTRAGlobals ] Ideas please In reply to
Matthias70 wrote:
Hi Andy,
did you see my changes in the above post.
Some explanations to html I'm using in the global "user listing"

Matthias
Hi,

Yeah, just seen it :)

I'm using a bit of a different global to you (made some changes, so its more customizable).

They can either do:

Code:
<%Plugins::ULTRAGlobals::Users_Listings($LinkOwner)%>

..or if they want to show their links of the current logged in user (for example, maybe on login_success.html), they can use:

Code:
<%Plugins::ULTRAGlobals::Users_Listings()%>

I did notice a boo-boo in the Readme though - I had:


Code:
<h2>Users Links</h2>
<%if user_links.length%>
<%loop user_links%>
<%include link.html%>
<%endloop%>
<%else%>
<p>No links.</p>
<%endif%>

<h2>Users Links By Hits</h2>
<%if user_links.length%>
<%loop user_links%>
<%include link.html%>
<%endloop%>
<%else%>
<p>No links.</p>
<%endif%>

<h2>Users Links By Rating</h2>
<%if user_links_by_rating.length%>
<%loop user_links_by_rating%>
<%include link.html%>
<%endloop%>
<%else%>
<p>No links.</p>
<%endif%>

instead of:

Code:
<h2>Users Links</h2>
<%if user_links.length%>
<%loop user_links%>
<%include link.html%>
<%endloop%>
<%else%>
<p>No links.</p>
<%endif%>

<h2>Users Links By Hits</h2>
<%if user_links_by_hits.length%>
<%loop user_links_by_hits%>

<%include link.html%>
<%endloop%>
<%else%>
<p>No links.</p>
<%endif%>

<h2>Users Links By Rating</h2>
<%if user_links_by_rating.length%>
<%loop user_links_by_rating%>
<%include link.html%>
<%endloop%>
<%else%>
<p>No links.</p>
<%endif%>


I've updated this in the latest version =)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] [ ULTRAGlobals ] Ideas please In reply to
Hi Andy,
there is still something wrong with the user listings global.
Just tried it. There are some problems with links to detailed pages and "Users Links By Hits" are not shown at all

Matthias

Matthias
gpaed.de
Quote Reply
Re: [Matthias70] [ ULTRAGlobals ] Ideas please In reply to
Hi,

Ah, whoops - see what you mean =) (just did a test locally)

That was a typo in the Readme. Should have read:

Code:
<h2>Users Links By Hits</h2>
<%if user_links_by_hit.length%>
<%loop user_links_by_hit%>
<%include link.html%>
<%endloop%>
<%else%>
<p>No links.</p>
<%endif%>


..not:


Code:
<h2>Users Links By Hits</h2>
<%if user_links_by_hits.length%>
<%loop user_links_by_hits%>
<%include link.html%>
<%endloop%>
<%else%>
<p>No links.</p>
<%endif%>

I've also added in the function for proving the <%detailed_url%> tag =)

Version 1.4.1 attached.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates

Last edited by:

Andy: Dec 17, 2007, 7:50 AM
Quote Reply
Re: [Andy] [ ULTRAGlobals ] Ideas please In reply to
Hi,

I've now made an official page for this plugin on our site =)

http://www.ultranerds.com/...s/ULTRAGlobals_L217/

I'll be updating that page, instead of this thread (I've removed the attachments from this post, to stop people downloading old versions :P)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] [ ULTRAGlobals ] Ideas please In reply to
Andy wrote:
Hi,

Ah, whoops - see what you mean =) (just did a test locally)

That was a typo in the Readme. Should have read:

I've also added in the function for proving the <%detailed_url%> tag =)

Cheers

Works fine now
Perhaps you can tell the users in the readme
that they don't have to use
<%include link.html%>
but more flexible code like below.
<ul>
<li><small><%row_num%>. <%if Build_Detailed_Page eq "1"%><a href="<%build_root_url%>/Detailed/<%ID%>.html"><%elsif URL ne 'http://' and isValidated eq 'Yes'%><a href="<%URL%>"><%endif%><%Title%></a> (<%Hits%> | <%Rating%>)</small></li>
</ul>

I did'nt know that, before you told me

Matthias

Matthias
gpaed.de
Quote Reply
Re: [Andy] [ ULTRAGlobals ] Ideas please In reply to
Hi,

I've just released version 1.5.0.

You can get it from here:

http://www.ultranerds.com/...s/ULTRAGlobals_L217/

It has the following extra functions:

1) Custom_Full_Name()
2) Convert_To_ASCII()
3) Load_Link()

Again, all of these functions are explained in more detail, in the Readme included.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] [ ULTRAGlobals ] Ideas please In reply to
Andy wrote:
Hi,

I've just released version 1.5.0.

You can get it from here:

http://www.ultranerds.com/...s/ULTRAGlobals_L217/

Hi Andy,
you forgot to upload 1.5.0 Wink
There is still 1.4.1 on your site...

Thanks
Matthias

Matthias
gpaed.de
Quote Reply
Re: [Matthias70] [ ULTRAGlobals ] Ideas please In reply to
Whoops, should be sorted now =)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] [ ULTRAGlobals ] Ideas please In reply to
Hi,

Looks like I missed out some of the documentation for one of the functions =)

Commify()

This just lets you turn numbers like 1234567 into 1,234,567 - or 12345 into 12,345 - etc. I've added it into the current versions documentation Smile

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] [ ULTRAGlobals ] Ideas please In reply to
Hi Andy,
a small typo
<%Plugins::ULTRAGlobals::Convert_To_ASCII('ID')%>
should be
<%Plugins::ULTRAGlobals::Load_Link('ID')%>

Thanks for this plugin
Matthias

Now there are 3 unknown and new globals for me.
Waiting for more Wink

Matthias
gpaed.de
Quote Reply
Re: [Matthias70] [ ULTRAGlobals ] Ideas please In reply to
HI,

Thanks - I've updated the Readme, and uploaded the fixed version :) (its still the same version - as it wasn't really worth increasing the version number =))

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] [ ULTRAGlobals ] Ideas please In reply to
Hi,

To make things easier , I've also had it added to the "Plugins > Download > List All" section inside your GLinks area - so you can download the plugin directly from your Admin Panel :)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
> >