XFields Forum Area

Post your suggestions for the script here.

XFields Forum Area

Postby scottdallas » Tue Jul 25, 2006 7:04 am

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.
Everyday I'm tumblin http://scodal.tumblr.com
User avatar
scottdallas
 
Posts: 2209
Joined: Thu May 04, 2006 6:46 pm
Location: US

Postby scottdallas » Fri Aug 11, 2006 3:48 pm

I guess I'm the only one that got that excited over Xfields. *wallows away in own self pity* lol jk :P 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).
Everyday I'm tumblin http://scodal.tumblr.com
User avatar
scottdallas
 
Posts: 2209
Joined: Thu May 04, 2006 6:46 pm
Location: US

Postby mosey » Fri Aug 11, 2006 6:23 pm

Maybe just post it any way and presumably if there is enough interest can badger *cough cough* into making a special area :)
Known as Mohican on Cutephp.com Forums
mosey
 
Posts: 45
Joined: Sun Apr 09, 2006 4:36 am

Postby scottdallas » Fri Aug 11, 2006 7:02 pm

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" :lol:



Edited by FI-DD
Everyday I'm tumblin http://scodal.tumblr.com
User avatar
scottdallas
 
Posts: 2209
Joined: Thu May 04, 2006 6:46 pm
Location: US

Postby mosey » Fri Aug 11, 2006 7:33 pm

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 :)
Known as Mohican on Cutephp.com Forums
mosey
 
Posts: 45
Joined: Sun Apr 09, 2006 4:36 am

I got xfields sticky!

Postby scottdallas » Sat Aug 12, 2006 9:07 am

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
Everyday I'm tumblin http://scodal.tumblr.com
User avatar
scottdallas
 
Posts: 2209
Joined: Thu May 04, 2006 6:46 pm
Location: US

Postby mosey » Sat Aug 12, 2006 2:47 pm

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
mosey
 
Posts: 45
Joined: Sun Apr 09, 2006 4:36 am

Postby joshers » Sun Aug 13, 2006 1:38 am

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?
joshers
 
Posts: 68
Joined: Mon Nov 14, 2005 8:03 am

Postby scottdallas » Sun Aug 13, 2006 7:30 am

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.
Everyday I'm tumblin http://scodal.tumblr.com
User avatar
scottdallas
 
Posts: 2209
Joined: Thu May 04, 2006 6:46 pm
Location: US

Postby Syrion » Sun Aug 13, 2006 10:53 pm

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.
User avatar
Syrion
 
Posts: 185
Joined: Wed Aug 02, 2006 2:03 pm

Postby mosey » Sun Aug 13, 2006 11:10 pm

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. :)



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
mosey
 
Posts: 45
Joined: Sun Apr 09, 2006 4:36 am

Postby PJR » Fri Mar 16, 2007 5:47 pm

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?
PJR
 
Posts: 165
Joined: Mon Oct 17, 2005 3:15 pm
Location: Czech republic

Postby FI-DD » Mon Mar 19, 2007 4:23 pm

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.
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Postby PJR » Mon Mar 19, 2007 8:49 pm

Yes, I know it's one way, but I prefer using xFields to template solutions. I'd have to rebuild my website completely.
PJR
 
Posts: 165
Joined: Mon Oct 17, 2005 3:15 pm
Location: Czech republic

Postby Disharmony » Wed Jun 18, 2008 11:02 am

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.
Disharmony
 
Posts: 45
Joined: Thu Jun 05, 2008 12:45 pm

Next

Return to Suggestions



Who is online

Users browsing this forum: No registered users and 0 guests