Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
XFields Forum Area
Goto page 1, 2  Next
 
Reply to topic    Forum Index » Suggestions View previous topic
View next topic
XFields Forum Area
Author Message
scottdallas



Joined: 04 May 2006
Posts: 1843
Location: US

Post XFields Forum Area Reply with quote
I've made a few enhancements to my cutenews.ru with xfields that I can't live without and I was thinking about how handy it would be if there was a place in the forum for people to share their xfield ideas or enhancements. Can we have that? I'd have a field day with it. Who else uses xfields a lot? I'm sure lots of us do. I want to know everybody's good xfield ideas and integrations. I'll share mine if you share yours.

_________________
www.scottdizzle.com uses cnr Smile
last update: 07-22-08: 8:30 pm
Tue Jul 25, 2006 7:04 am View user's profile Send private message Visit poster's website AIM Address
Guest








Please login to hide the ads.

scottdallas



Joined: 04 May 2006
Posts: 1843
Location: US

Post Reply with quote
I guess I'm the only one that got that excited over Xfields. *wallows away in own self pity* lol jk Razz Well, then I won't share any of my cool xfields with you peoples.



But I tell you.. xfields works wonders with the guest.php (guest can add news hack).

_________________
www.scottdizzle.com uses cnr Smile
last update: 07-22-08: 8:30 pm
Fri Aug 11, 2006 3:48 pm View user's profile Send private message Visit poster's website AIM Address
mosey



Joined: 09 Apr 2006
Posts: 45

Post Reply with quote
Maybe just post it any way and presumably if there is enough interest can badger *cough cough* into making a special area Smile

_________________
Known as Mohican on Cutephp.com Forums
Fri Aug 11, 2006 6:23 pm View user's profile Send private message
scottdallas



Joined: 04 May 2006
Posts: 1843
Location: US

Post Reply with quote
Alright well here's my 4 favorites:



1.

xfield name: fullstoryurl

Description: What is the URL to the full story?



Single Line



Default value: {link=home/post}



How to use in template:

I use this in place of {link=home/post} in most parts of my template because sometimes I like to send people to links to other sites instead of my full-story. In my template I put <a href="[xfvalue_fullstoryurl]">{title}</a> and <a href="[xfvalue_fullstoryurl]">{avatar}</a>



Usage and practicality:

When adding news it will automatically have {link=home/post} in the field, so you can ignore it unless you plan to send your visitor to an off site link. If you'd like to send them somewhere else, paste the URL over top the field and BAM now it's a link to the new page.

- - - - - - - - - - - - - - - - -



2.

xfield name: target

Description: How would you like your full story hyperlink to react?



Drop Down



Values to add:

_top

_blank



How to use in template:

I use this in conjunction with the previous xfield I mentioned (fullstoryurl). Now all together you can put this in your template to give you more control of how your links react: <a href="[xfvalue_fullstoryurl]" target="[xfvalue_target]">{title}</a> and/or <a href="[xfvalue_fullstory]" target="[xfvalue_target]">{avatar}</a>



Usage and practicality:

I added this in an effort so as not to lose my traffic. If I am sending a person to an offsite link, by default it's going to load in the same window.. most the time you want that like if you're just sending the person to your full-story (that's why I add it first so this is the default value selected). If you ignore this field it will automatically fill it in with _top. If you are sending the person to an off site link then select _blank and it will open in a new window and they will remain at your page. This is great for media sites.. especially when you don't want to be hosting all the media yourself and posting it in the full story, or hotlinking other peoples media (makes people angry apparently lol), or putting the link to the off site material in the full story (makes the person have to click twice instead of getting the juicy contents right from the main page).

- - - - - - - - - - - - - - - - -



3.

xfield name: align-short

Description: How would you like to align your short story?



Drop Down



Add these values:

left

center

right

justify



How to use in template:

Put this somewhere in your templates: <div align="[xfvalue_align-short]">{short-story}</div>



Usage and practicality:

Now you can align the short-story. This might be useful if you run a site that you both write articles and post pictures and media elements. Now you can align your articles "left" or "justify" and "center" your images, videos, flash, or other media.

- - - - - - - - - - - - - - - - -



4.

xfield name: align-full

Description: How would you like to align your full story?



Drop Down



Add these values:

left

center

right

justify



How to use in template:

Put this somewhere in your templates: <div align="[xfvalue_align-full]">{full-story}</div>



Usage and practicality:

Now you can align your full-story however you like. This might be useful if you're running a site that you write both articles and post videos, pictures, or flash media on. Sometimes you like it "left" or "justify", but those media items always look best "center" Laughing



Edited by FI-DD

_________________
www.scottdizzle.com uses cnr Smile
last update: 07-22-08: 8:30 pm
Fri Aug 11, 2006 7:02 pm View user's profile Send private message Visit poster's website AIM Address
mosey



Joined: 09 Apr 2006
Posts: 45

Post Reply with quote
I know the first one is more useful but for some reason I'm finding the second one more inspiring at the moment :p Thanks for sharing though! I used xfields quite alot when using AJ-Fork and would have used it for tags, but as there is now this new funky keyword plugin... - will definitely share if I find something interesting to do with xfields Smile

_________________
Known as Mohican on Cutephp.com Forums
Fri Aug 11, 2006 7:33 pm View user's profile Send private message
scottdallas



Joined: 04 May 2006
Posts: 1843
Location: US

Post I got xfields sticky! Reply with quote
What are the advantages of aj-fork? I always have trouble finding it when I google it. What are your xfield ideas?



Edited by FI-DD

_________________
www.scottdizzle.com uses cnr Smile
last update: 07-22-08: 8:30 pm
Sat Aug 12, 2006 9:07 am View user's profile Send private message Visit poster's website AIM Address
mosey



Joined: 09 Apr 2006
Posts: 45

Post Reply with quote
I guess this is best left for another thread (noting that Cutenews.ru/Strawberry is a mix of Cutenews and AJFork) but I mainly use v1.67 rather than the last released version of 1.68. You can view a screenshot of the login interface here, and a screenshot of the example page here. It's all valid xHTML using a css file. (same with the admin interface I think) I presume this is where plugins started for Cutenews.

_________________
Known as Mohican on Cutephp.com Forums
Sat Aug 12, 2006 2:47 pm View user's profile Send private message
joshers



Joined: 14 Nov 2005
Posts: 68

Post Reply with quote
Yea, x-fields are great. I used them on http://myglamspace.com/GetListed.php Btw, scott, did you ever translate the interface all the way?
Sun Aug 13, 2006 1:38 am View user's profile Send private message Visit poster's website AIM Address
scottdallas



Joined: 04 May 2006
Posts: 1843
Location: US

Post Reply with quote
Nice work on that! Dah no.. life doesn't present enough time ;( I'm very far behind at everything. I will let you know when I have I promise.

_________________
www.scottdizzle.com uses cnr Smile
last update: 07-22-08: 8:30 pm
Sun Aug 13, 2006 7:30 am View user's profile Send private message Visit poster's website AIM Address
Syrion



Joined: 02 Aug 2006
Posts: 172

Post Reply with quote
Used x-fields to generate this table, which is imported at another site.



http://znf.morelovehq.com/tabel.php



Except for the first row (a hardcoded table-row), the rest is generated.



The X-fields are used for the location-column (vestigingsplaats) and, if there is a known site, the company name (=article title) will become a link. The products/services of the companies are an article's short-story.
Sun Aug 13, 2006 10:53 pm View user's profile Send private message
mosey



Joined: 09 Apr 2006
Posts: 45

Post Reply with quote
One time I used XFields for a Championship Manager fansite (which doesn't belong to me) for listing player details (such as rating, personal details, club etc.) - I suppose the only clever thing I can think of that I did with this was for the rating - when adding the 'news', the admin would select for instance 'two stars'. This would set the title of the image used for the ratings, and so for instance twostars.gif would show up on the details page. Smile



This was mainly to simplify the interface for the admin as not all users can be expected to type in twostars.gif if they are not particularly technical and just wish to add content.

_________________
Known as Mohican on Cutephp.com Forums
Sun Aug 13, 2006 11:10 pm View user's profile Send private message
PJR



Joined: 17 Oct 2005
Posts: 161
Location: Czech republic

Post Reply with quote
I'd like use the radio button (or optional one) via XFields, that would "activate" some function = I don't care about some text, but I'd like to put some function (yes the ajax rating) to only some post. I think using XFields is the best way, isn't it?



So I would like use something like this in my template:



[xfgiven_XXX]{ratingajax:x:y}[/xfgiven_XXX] or [xfvalue_XXX]



Would it be possible?
Fri Mar 16, 2007 5:47 pm View user's profile Send private message
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2736
Location: Germany

Post Reply with quote
PJR wrote:
but I'd like to put some function (yes the ajax rating) to only some post. I think using XFields is the best way, isn't it?


Create a different template for those posts.
Mon Mar 19, 2007 4:23 pm View user's profile Send private message
PJR



Joined: 17 Oct 2005
Posts: 161
Location: Czech republic

Post Reply with quote
Yes, I know it's one way, but I prefer using xFields to template solutions. I'd have to rebuild my website completely.
Mon Mar 19, 2007 8:49 pm View user's profile Send private message
Disharmony



Joined: 05 Jun 2008
Posts: 45

Post Reply with quote
I only have one x-field for now and that's "RSS Description". Basically it's a short summary of the article that appears on the RSS feed.
Wed Jun 18, 2008 11:02 am View user's profile Send private message
Display posts from previous:    
Reply to topic    Forum Index » Suggestions All times are GMT + 1 Hour
Goto page 1, 2  Next
Page 1 of 2

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum



Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Music Lyrics.