vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Mini Mods - Profile Fields in Postbits (https://vborg.vbsupport.ru/showthread.php?t=123619)

emin3m 08-10-2006 10:00 PM

Profile Fields in Postbits
 
Show Profile Fields in Postbits

Profile Fields in Postbits in german language

Features
1. Shows Profile fields in the postbits.
2. Dosent shows if field is blank.
3. Admin can set which profile field to show and in which order.
4. Admin can set where to show under posts by user or under username NEW

Whats New
1. Queries issue fixed, now only 2 quries per page(showthread) load

Why Use it
As am running my university forums so, setting "roll no" (student-id-no) in postbit made easy to recognize ppl posting..
you can add fields like "Favourite music", "Favourite movie", "Favourite book" and add them in postbits..

REFERSH THE ADMIN PANEL AFTER INSTALLING IT

there might be such plugin b4 but am unable to find it,, is it?
for 3.5.x ..... here
and on 3.6.0 special thanks to nicedreams

Liked it?
How about https://vborg.vbsupport.ru/external/2010/02/12.gif

images
screen shot
admin panel

MustangLisa 08-10-2006 11:07 PM

Cool, thanks.

Hey, how did you get a smilie in the title postbit ... by the Super Moderator in your screen shot?

Jesus05uk 08-10-2006 11:49 PM

Very Nice - Installed on forums.gmodcentral.com

Galadrium 08-11-2006 12:24 AM

Thanks.

In the past this would have required a lot of editing and work.

-installed

StuntFactoryX 08-11-2006 02:12 AM

thanks and installed. this was 1 of the plugins that gave me errors when i upgraded to 3.6 and was using the old version. thanks for the updated 1.

Sal Collaziano 08-11-2006 04:56 AM

Cool. Thank you. :)

redlabour 08-11-2006 05:08 AM

Thx ! ;)

pauloo 08-11-2006 07:55 AM

Nice thanks !

Milad 08-11-2006 03:14 PM

I like it, but I don't like the queries.

You may optimize it.

Eagle Creek 08-12-2006 02:49 PM

This is so 100% EXACTLY what I'm looking for, for soo long!!

(does it work with postbit_legacy?)

WeArab 08-13-2006 09:21 AM

Cool thank you!

Installed!

I was searching for this add on long time ago!

Now I'm able to let the users show their mobile models, their Internet connections type!

You r0ck the VB world honestly!

The best of it, it doesn't need any modification!

Could you please optimize the queries?

bongwater 08-19-2006 06:04 PM

installed, thanks!

Troy Roberts 08-19-2006 07:52 PM

Quote:

Originally Posted by Milad
I like it, but I don't like the queries.

You may optimize it.

How many queries? Will this impact server overhead?

I really like the idea since it's a pain to do it all manually.

emin3m 08-21-2006 07:04 PM

@Milad
yea ill be optimizing it

@MustangLisa
its by adding user rank from adminpanel

@Eagle Creek
yes it works on postbit_legacy

Bad Bunny 08-23-2006 01:53 PM

How would I go about moving their position within the postbit? I can't see to find the added code...

dirtycrow 08-24-2006 12:06 PM

it's not showing up in my admin cp, even after a refresh and and a log out and log back in

*edit, nevermind ;)

works great!

adwade 08-26-2006 03:38 AM

I couldn't find it either! ha, ha I kept looking down at the bottom of the admincp, not up toward the TOP of the list!

Anyway, S-W-E-E-T modification :D sure to become one of my favorites. Kudos on a job well done emin3m!

Shazz 08-26-2006 04:31 AM

Peterska came up with a nice way too that works on any version..-(Not just the 3.6 and its just a code)

adwade 08-26-2006 02:02 PM

Quote:

Originally Posted by Shazz
Peterska came up with a nice way too...

Thanxx. I looked it up, but I like this one better since it's so easy to turn different fields on/off anytime you want to.

ukcobra 08-27-2006 08:14 AM

As a new migrant to 3.6 from 3.08 I'm trying to find my way round the new features.

My Custom Profile fields have gone missing and this modification looks like it would solve it, however, how does it install ?

I can see the What it does and Why, just can't see the How you install it.

Can someone explain please or point me in the right direction.

Thanks

Mark

emin3m 08-27-2006 02:22 PM

@ukcobra
https://vborg.vbsupport.ru/showthread.php?t=82621

@adwade
thanks a lot

i sure will be updating this plugin + optimizing quries

ukcobra 08-27-2006 02:58 PM

Thanks for the pointer, installed, modified and working in under 5 minutes. This is a great help.

marlita 08-29-2006 02:29 AM

My checkbox values are showing up as number in my postbit. Do you know how to solve this? Here is a link to someone in another post who's having a similar problem. Granted, his is showing pics for another mod, but it's the same outcome for me with your mod. Thanks.

robertwo 08-30-2006 02:23 PM

There's a post here about that:

http://www.vbulletin.com/forum/showthread.php?t=97400

soletrader 08-30-2006 03:02 PM

I cant locate it in my admin cp.. where is it?

Farcaster 08-30-2006 04:27 PM

This plugin adds a lot of queries. If I add the profile fields to the postbit manually, no queries are added, because all of the fields are already joined on each post. However, if I use this plugin, a thread with 13 posts goes from 10 queries to 140! That's quite a lot of extra load for the database for bringing up a single page with 4 extra profile fields.

Looking at the code, it looks like the problem is that you are doing a separate query for each profile field and for each post, thus the extra queries needed become exponential for the number of posts per page and the number of profile fields. Since the fields are already loaded and available, you might see if you can use them instead of querying for them separately.

Hope that helps.

marlita 08-30-2006 08:40 PM

Quote:

Originally Posted by robertwo

Thank you for the link, but I didn't see any clearcut solution. If anyone can help with this some more, i'd appreciate it. Thanks.

Wired1 08-31-2006 07:36 PM

Quote:

Originally Posted by marlita
Thank you for the link, but I didn't see any clearcut solution. If anyone can help with this some more, i'd appreciate it. Thanks.

Here's some more info:

http://www.vbulletin.com/forum/showthread.php?t=108785

hsv z clubbie 09-01-2006 02:09 AM

This is exactly what I have been looking for, only new to vb and I cant get it installed. Any tips ?

Cheers

Edit:
Sorted it, excellent stuff, thanks !!!

Its running on http://www.eastcoastutes.com

WeArab 09-06-2006 05:29 PM

Hello emin3m,

Again it's nice hack, But!

When will you fix the lot of queries issue?

Dufachi 09-08-2006 06:26 AM

Once the queries issue is fixed, I'll definitely install this.

WeArab 09-12-2006 06:26 AM

I have disabled it in my forum till queries issue is fixed, now it kills my box MySQL server.

adwade 10-09-2006 01:38 PM

Quote:

Originally Posted by Farcaster
This plugin adds a lot of queries. If I add the profile fields to the postbit manually, no queries are added

Farcaster, for someone who's not in the know about such things how is this done? Are there any threads that discuss/explain it. As you can guess, I'm not a coder...:confused:...but I'm very curious.

Dufachi 10-12-2006 03:18 PM

Quote:

Originally Posted by adwade
Farcaster, for someone who's not in the know about such things how is this done? Are there any threads that discuss/explain it. As you can guess, I'm not a coder...:confused:...but I'm very curious.

You may want to take a look here:
https://vborg.vbsupport.ru/showthrea...profile+fields

adwade 11-08-2006 05:02 AM

Thanxx so much Dufachi! Looks like this will be my first serious code editing attempt.

emin3m 11-18-2006 05:41 PM

quries issue fixed

WeArab 11-18-2006 06:25 PM

Thank you man!

Will try it now ;)

adwade 11-18-2006 06:54 PM

Quote:

Originally Posted by emin3m (Post 1120154)
quries issue fixed

Wow, I'll bet that took some time & effort. Congrats on bringing your MOD up to a new level! Still one of my FAVORITES!

Masked Crusader 11-18-2006 11:12 PM

Man, you have no idea how much this hack has helped! This hack has saved me so much time in the past couple of days.

I used to hate adding new profile fields, now I love it.

*CLICKS INSTALL*

vinnaboy 11-19-2006 01:55 AM

I upgraded the hack and now I'm getting this when I'm reading my PM:

Quote:

Warning: Invalid argument supplied for foreach() in /includes/class_postbit.php(296) : eval()'d code on line 2

Warning: Invalid argument supplied for foreach() in /includes/class_postbit.php(296) : eval()'d code on line 9
How do I fix this? Thanks


All times are GMT. The time now is 06:35 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01338 seconds
  • Memory Usage 1,817KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete